HtmlMarkerOptions | MapGL | 2GIS Documentation

HtmlMarkerOptions

HtmlMarker initialization options.

Properties
number[]

The position in pixels of the "tip" of the HTML marker relative to its top-left corner.

number[]

Geographical coordinates [longitude, latitude] of the top-left corner of the HTML marker, taking into account its anchor.

HTMLElementstring

HTML content of the HTML marker.

undefinednumber

Maximum display styleZoom of the HTML marker.

undefinednumber

Minimum display styleZoom of the HTML marker.

undefinedfalsetrue

Capture events if set. Otherwise events will passed to the map. By default it's true.

any

User specific data.

undefinednumber

Draw order.