Skip to main content

setAPIToken()

setAPIToken(token: string): void

Sets the API Token. If set, this token will be used for all non-style related service calls (routing, geocoding, etc.).

setAPIToken

Parameters

Parameter Type Description
token string The API Token.

Returns

void

Last updated August 23, 2024.