Maps API for JavaScript Developer's Guide

H.map.AbstractMarker.Options

Type Definition Summary

Options used to initialize an AbstractMarker.

[ 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

visibility

A value indicating whether the map object is visible, the default is true.

zIndex

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

provider

The provider of the given map object. This property is only needed if a customized implementation of ObjectProvider wants to instantiate the given map object.

icon

The icon to use for the visual representation; if omitted, a default icon is used.

data

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

Type Definition Description

Options used to initialize an AbstractMarker.

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

visibility: {boolean=} [optional]

A value indicating whether the map object is visible, the default is true.

zIndex: {number=} [optional]

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

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

The provider of the given map object. This property is only needed if a customized implementation of ObjectProvider wants to instantiate the given map object.

icon: {(H.map.Icon | H.map.DomIcon)=} [optional]

The icon to use for the visual representation; if omitted, a default icon is used.

data: {*}

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