Interface
Options for applyStyle
Properties
Property | Type | Notes |
---|---|---|
attributionControl inherited | IAttributionControlOptions | Options for customizing the maplibre-gl attribution control. |
map | Map$1 | The maplibre-gl map to apply the basemap style to. |
maplibreStyleOptions | MaplibreStyleOptions | Passthrough options for maplibre-gl map.setStyle() |
preferences inherited | IBasemapPreferences | Set style preferences including language, worldview, and places. |
session inherited | BasemapSession | Promise<BasemapSession> | Accepts basemap sessions for authentication. The style will reload automatically on session token refresh. |
style inherited | string | A basemap style enumeration or item ID. |
token inherited | string | Accepts an ArcGIS access token for authentication. |
attributionControl
attributionControl: IAttributionControlOptions
Options for customizing the maplibre-gl attribution control.
maplibreStyleOptions
maplibreStyleOptions: MaplibreStyleOptions
Passthrough options for maplibre-gl map.setStyle()
preferences
preferences: IBasemapPreferences
Set style preferences including language, worldview, and places.
session
session: BasemapSession | Promise<BasemapSession>
Accepts basemap sessions for authentication. The style will reload automatically on session token refresh.
token
token: string
Accepts an ArcGIS access token for authentication.