Maps API for JavaScript Developer's Guide

H.map.Spatial.Options

Type Definition Summary

Options which are used to initialize spatial object object

[ For full details, see the Type Definition Details ]

Property Summary

Table 1. Properties
Properties

style

the style to be used when tracing the spatial object

arrows

The arrows style to be used when rendering the spatial.

visibility

An optional boolean value indicating whether this map object is visible, default is true

zIndex

The z-index value of the map object, default is 0

min

The minimum zoom level for which the object is visible, default is -Infinity

max

The maximum zoom level for which the object is visible, default is Infinity

provider

The provider of this object. This property is only needed if a customized Implementation of ObjectProvider wants to instantiate an object.

data

Optional arbitrary data to be stored with this map object. This data can be retrieved by calling getData.

Type Definition Description

Options which are used to initialize spatial object object

Property Details

style: {(H.map.SpatialStyle | H.map.SpatialStyle.Options)=} [optional]

the style to be used when tracing the spatial object

arrows: {(H.map.ArrowStyle | H.map.ArrowStyle.Options)=} [optional]

The arrows style to be used when rendering the spatial.

visibility: {boolean=} [optional]

An optional boolean value indicating whether this map object is visible, default is true

zIndex: {number=} [optional]

The z-index value of the map object, default is 0

min: {number=} [optional]

The minimum zoom level for which the object is visible, default is -Infinity

max: {number=} [optional]

The maximum zoom level for which the object is visible, default is Infinity

provider: {(H.map.provider.Provider | null)=} [optional]

The provider of this object. This property is only needed if a customized Implementation of ObjectProvider wants to instantiate an object.

data: {*}

Optional arbitrary data to be stored with this map object. This data can be retrieved by calling getData.

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.