Interface
Options for initializing a BasemapStyleSession
Properties
| Property | Type | Notes |
|---|---|---|
autoRefresh | boolean | Toggles auto-refresh functionality. |
duration | number | Duration in seconds for the session. |
safetyMargin | number | Safety margin in seconds to refresh the session before the |
styleFamily | StyleFamily | Style family for the session. |
token | string | Access token for authentication. The token must be from an ArcGIS Location Platform account and have the Basemaps privelege. |
safetyMargin
optional
Interface PropertysafetyMargin: numberSafety margin in seconds to refresh the session before the endTime .
styleFamily
Interface PropertystyleFamily: StyleFamilyStyle family for the session.