Maps API for JavaScript Developer's Guide

H.service.Platform.DefaultLayersOptions

Type Definition Summary

Options used to create default layers

[ For full details, see the Type Definition Details ]

Property Summary

Table 1. Properties
Properties

tileSize

tile size to be queried from the HERE Map Tile API, default is 256

ppi

'ppi' parameter to use when querying tiles, default is not specified

lg

optional primary language parameter, default is not specified

lg2

optional secondary language parameter, default is not specified

style

optional 'style' parameter to use when querying map tiles, default is not specified

pois

indicates if pois are displayed on the map

crossOrigin

indicates if CORS headers should be used for default layers, if false is specified, CORS headers are not set, defaults to 'anonymous'. Be aware that storing of content is not possible if crossOrigin is not set to true (see H.Map#storeContent).

Type Definition Description

Options used to create default layers

Property Details

tileSize: {number=} [optional]

tile size to be queried from the HERE Map Tile API, default is 256

ppi: {number=} [optional]

'ppi' parameter to use when querying tiles, default is not specified

lg: {string=} [optional]

optional primary language parameter, default is not specified

lg2: {string=} [optional]

optional secondary language parameter, default is not specified

style: {string=} [optional]

optional 'style' parameter to use when querying map tiles, default is not specified

pois: {boolean=} [optional]

indicates if pois are displayed on the map

crossOrigin: {(string | boolean=)}

indicates if CORS headers should be used for default layers, if false is specified, CORS headers are not set, defaults to 'anonymous'. Be aware that storing of content is not possible if crossOrigin is not set to true (see H.Map#storeContent).

You cannot use this account to purchase a commercial plan on Developer Portal, as it is already associated to plans with different payment methods.

To purchase a commercial plan on Developer Portal, please register for or sign in with a different HERE Account.

Something took longer than expected.

The project should be available soon under your projects page.

Sorry, our services are not available in this region.

Something seems to have gone wrong. Please try again later.

We've detected that your account is set to Australian Dollars (AUD).
Unfortunately, we do not offer checkouts in AUD anymore.
You can continue using your current plan as normal, but to subscribe to one of our new plans,
please register for a new HERE account or contact us for billing questions on selfservesupport@here.com.