Skip to content

IApplyStyleOptions

Interface

Options for applyStyle

Inheritance: IApplyStyleOptionsIBasemapStyleOptions

Properties

Hide inherited properties
PropertyTypeNotes
IAttributionControlOptions

Options for customizing the maplibre-gl attribution control.

mapMap$1

The maplibre-gl map to apply the basemap style to.

maplibreStyleOptionsMaplibreStyleOptions

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

optionalinheritedinherited
Interface Property
attributionControl: IAttributionControlOptions

Options for customizing the maplibre-gl attribution control.

map

Interface Property
map: Map$1

The maplibre-gl map to apply the basemap style to.

maplibreStyleOptions

optional
Interface Property
maplibreStyleOptions: MaplibreStyleOptions

Passthrough options for maplibre-gl map.setStyle()

preferences

optionalinheritedinherited
Interface Property
preferences: IBasemapPreferences

Set style preferences including language, worldview, and places.

session

optionalinheritedinherited
Interface Property
session: BasemapSession | Promise<BasemapSession>

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

style

inheritedinherited
Interface Property
style: string

A basemap style enumeration or item ID.

token

optionalinheritedinherited
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.