Maps API for JavaScript Developer's Guide

H.service.Platform.DefaultLayersOptions

Type Definition Summary

This type encapsulates options used to create default layers.

[ For full details, see the Type Definition Details ]

Property Summary

Table 1. Properties
Properties

tileSize

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

ppi

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

lg

An optional identifier of the primary language, the default is not specified

lg2

An optional identifier of the secondary language, the default is not specified

style

An optional 'style' definition to use when querying map tiles, the default is not specified

pois

A value indicating if POIs are displayed on the map {true)

crossOrigin

A Boolean indicating if CORS headers should be used for default layers (false means that CORS headers are not set, defaults to 'anonymous'); note that storing of content is not possible if crossOrigin is not set to true; see also H.Map#storeContent

Type Definition Description

This type encapsulates options used to create default layers.

Property Details

tileSize: {number=} [optional]

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

ppi: {number=} [optional]

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

lg: {string=} [optional]

An optional identifier of the primary language, the default is not specified

lg2: {string=} [optional]

An optional identifier of the secondary language, the default is not specified

style: {string=} [optional]

An optional 'style' definition to use when querying map tiles, the default is not specified

pois: {boolean=} [optional]

A value indicating if POIs are displayed on the map {true)

crossOrigin: {(string | boolean=)}

A Boolean indicating if CORS headers should be used for default layers (false means that CORS headers are not set, defaults to 'anonymous'); note that storing of content is not possible if crossOrigin is not set to true; see also 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.