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). By default POIs are disabled.

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). By default POIs are disabled.

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