Skip to main content

getAPIToken()

getAPIToken(): string

Gets and sets the token to be used for API calls. If set, this token will be used for all non-style related service calls (routing, geocoding, etc.). string APIToken

Returns

string

  • string. The API Token.

Example

TrimbleMaps.APIToken = "YOUR_TOKEN_HERE";
Last updated August 23, 2024.