Spec-Zone.ru › MapLibre GL JS

StyleSwapOptions

StyleSwapOptions = object

The options object related to the Map's style related methods

Properties

diff?

optional diff?: boolean

If false, force a 'full' update, removing the current style and building the given one instead of attempting a diff-based update.


transformStyle?

optional transformStyle?: TransformStyleFunction

TransformStyleFunction is a convenience function that allows to modify a style after it is fetched but before it is committed to the map state. Refer to TransformStyleFunction.

© MapLibre contributors
Licensed under the 3-Clause BSD License.
https://maplibre.org/maplibre-gl-js/docs/API/type-aliases/StyleSwapOptions/

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API