Maps API for JavaScript Developer's Guide

H.map.Overlay.Options

Type Definition Summary

Options used to initialize an overlay.

[ For full details, see the Type Definition Details ]

Property Summary

Table 1. Properties
Properties

min

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

max

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

opacity

The opacity of the object in range from 0 (transparent) to 1 (opaque), the default is 1.

visibility

Indicates whether the map object is visible, the default is true.

zIndex

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

provider

The provider of this overlay. This property is needed only if a customized implementation of ObjectProvider wants to instantiate the overlay.

data

Optional arbitrary data to be stored with the map overlay. The data can be retrieved by calling getData().

crossOrigin

Specifies whether to use anonymous Cross-Origin Resource Sharing (CORS) when fetching an image to prevent the resulting canvas from tainting, the default is false. The option is ignored by IE9-10.

Type Definition Description

Options used to initialize an overlay.

Property Details

min: {number=} [optional]

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

max: {number=} [optional]

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

opacity: {number=} [optional]

The opacity of the object in range from 0 (transparent) to 1 (opaque), the default is 1.

visibility: {boolean=} [optional]

Indicates whether the map object is visible, the default is true.

zIndex: {number=} [optional]

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

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

The provider of this overlay. This property is needed only if a customized implementation of ObjectProvider wants to instantiate the overlay.

data: {*}

Optional arbitrary data to be stored with the map overlay. The data can be retrieved by calling getData().

crossOrigin: {boolean=} [optional]

Specifies whether to use anonymous Cross-Origin Resource Sharing (CORS) when fetching an image to prevent the resulting canvas from tainting, the default is false. The option is ignored by IE9-10.

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.