InputMarker | MapGL | 2GIS Documentation

InputMarker

A marker for clustering.

Properties
number[]

The position of the "tip" of the icon (relative to its top left corner). The icon will be aligned so that this point is at the marker's geographical location. Centered by default if anchor is not specified and custom icon is provided.

number[]

Geographical coordinates of marker center [longitude, latitude].

number[]

Marker icon anchor in hovered state.

undefinedstring

Marker icon URL in hovered state.

number[]

Marker icon size [width, height] in pixels in hovered state.

undefinedstring

Marker icon URL.

undefined

Initialization options of the marker's label.

number[]

Marker icon size [width, height] in pixels.