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
Properties |
---|
A value indicating the tile size to be queried from the HERE Map Tile API, the default is |
A |
An optional identifier of the primary language, the default is not specified |
An optional identifier of the secondary language, the default is not specified |
An optional 'style' definition to use when querying map tiles, the default is not specified |
A value indicating if POIs are displayed on the map ( |
A Boolean indicating if CORS headers should be used for default layers ( |
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