Geovisualization Developer's Guide

H.datalens.Service. Options

Type Definition Summary

Overrides the H.datalens.Service configuration

Type Definition Description

Normally the H.datalens.Service instance is configured with the H.service.Platform instance. This configuration can be overridden by specifying these options. It can be useful when the Data Lens environment is different from the HERE Platform environment.

Property Details

subDomain : { string } [optional]

Subdomain of the Data Lens REST API URL

version : { string } [optional]

Pathname prefix of the Data Lens REST API endpoints

access_token : { string } [optional]

The token used to authenticate all requests

refresh_token : { string } [optional]

The token used to fetch a new access token after the previous access token has expired. When refresh_token is provided, Service will automatically update the expired access_token .

domainSharding : { Array.<string> } [optional]

To increase the number of simultaneous requests to the Data Lens REST API, domain sharding is used. This option can be used when the Data Lens environment does not support domain sharding.

baseUrl : { string } [optional]

Defines an alternative host for the Data Lens REST API URL