HtmlInputMarker | MapGL | 2GIS Documentation

HtmlInputMarker

Marker style for HTML marker

Properties
number[]

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

number[]

Geographical coordinates of marker center [longitude, latitude].

HTMLElementstring

HTML content of the HTML marker.

undefinednumber

Maximum display zoom level of the HTML marker.

undefinednumber

Minimum display zoom level of the HTML marker.

undefinedfalsetrue

Capture events if set, otherwise events will passed to the map. Use this setting if you want to disable map zoom/scroll over html marker.

"html"
undefinednumber

Draw order.