MarkerIconOptions | MapGL | Urbi Documentation
MapGL JS API

MarkerIconOptions

Options for marker setIcon and setHoverIcon methods.

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.

string

Marker icon URL.

Marker icon opacity.

number[]

Marker icon size [width, height] in pixels.