MarkerOptions | MapGL | Urbi Documentation

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.

undefinedstring

Marker icon URL in hovered state.

number[]

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

undefinedstring

Marker icon URL.

undefinedfalsetrue

Allows the marker to emit events (like mouseover). true by default.

Initialization options of the marker's label.

undefinednumber

Maximum display styleZoom of the marker.

undefinednumber

Minimum display styleZoom of the marker.

undefinednumber

Icon clockwise rotation in the screen plane in degrees.

number[]

Marker icon size [width, height] in pixels.

any

User specific data.

undefinednumber

Draw order.