Skip to content

IUpdateStyleOptions

Interface

Options for updateStyle

Properties

PropertyTypeNotes
maplibreStyleOptionsMaplibreStyleOptions

Passthrough options for maplibre-gl map.setStyle()

preferencesIBasemapPreferences

Set style preferences including language, worldview, and places.

stylestring

A basemap style enumeration or item ID.

tokenstring

A new ArcGIS access token. This will override the existing token.

maplibreStyleOptions

optional
Interface Property
maplibreStyleOptions: MaplibreStyleOptions

Passthrough options for maplibre-gl map.setStyle()

preferences

optional
Interface Property
preferences: IBasemapPreferences

Set style preferences including language, worldview, and places.

style

optional
Interface Property
style: string

A basemap style enumeration or item ID.

token

optional
Interface Property
token: string

A new ArcGIS access token. This will override the existing token.

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.