MarkerOptions
Marker initialization options.
Properties
number[]
The position in pixels 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 size is specified.
number[]
Geographical coordinates of marker center [longitude, latitude]
.
number[]
Icon anchor in hovered state.
undefined
string
Marker icon URL in hovered state.
number[]
Marker icon size [width, height]
in pixels in hovered state.
undefined
string
Marker icon URL.
undefined
false
true
Allows the marker to emit events (like mouseover
). true
by default.
Omit<LabelOptions, "coordinates">
Initialization options of the marker's label.
undefined
number
Maximum display zoom level of the marker.
undefined
number
Minimum display zoom level of the marker.
number[]
Marker icon size [width, height]
in pixels.
undefined
number
Draw order.