Skip to content

IBasemapStyleOptions

Interface

Options for basemap styles

Subclasses: IApplyStyleOptions

Properties

PropertyTypeNotes
attributionControlIAttributionControlOptions

Options for customizing the maplibre-gl attribution control.

preferencesIBasemapPreferences

Set style preferences including language, worldview, and places.

sessionBasemapSession | Promise<BasemapSession>

Accepts basemap sessions for authentication. The style will reload automatically on session token refresh.

stylestring

A basemap style enumeration or item ID.

tokenstring

Accepts an ArcGIS access token for authentication.

attributionControl

optional
Interface Property
attributionControl: IAttributionControlOptions

Options for customizing the maplibre-gl attribution control.

preferences

optional
Interface Property
preferences: IBasemapPreferences

Set style preferences including language, worldview, and places.

session

optional
Interface Property
session: BasemapSession | Promise<BasemapSession>

Accepts basemap sessions for authentication. The style will reload automatically on session token refresh.

style

Interface Property
style: string

A basemap style enumeration or item ID.

token

optional
Interface Property
token: string

Accepts an ArcGIS access token for authentication.

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