Skip to content

IBasemapSessionOptions

Interface

Options for initializing a BasemapStyleSession

Properties

PropertyTypeNotes
autoRefreshboolean

Toggles auto-refresh functionality.

durationnumber

Duration in seconds for the session.

safetyMarginnumber

Safety margin in seconds to refresh the session before the endTime .

styleFamilyStyleFamily

Style family for the session.

tokenstring

Access token for authentication. The token must be from an ArcGIS Location Platform account and have the Basemaps privelege.

autoRefresh

optional
Interface Property
autoRefresh: boolean

Toggles auto-refresh functionality.

duration

optional
Interface Property
duration: number

Duration in seconds for the session.

safetyMargin

optional
Interface Property
safetyMargin: number

Safety margin in seconds to refresh the session before the endTime .

styleFamily

Interface Property
styleFamily: StyleFamily

Style family for the session.

token

Interface Property
token: string

Access token for authentication. The token must be from an ArcGIS Location Platform account and have the Basemaps privelege.

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