The offset from the marker's position to the tip of an InfoWindow that has been opened with the marker as anchor.
Which animation to play when marker is added to a map.
If true
, the marker receives mouse and touch events.
If false
, disables cross that appears beneath the marker when dragging.
Mouse cursor to show on hover.
If true
, the marker can be dragged.
Icon for the foreground. If a string
is provided, it is treated as
though it were an Icon with the string
as {@link Icon#url url}.
Adds a label to the marker. The label can either be a string
, or a
MarkerLabel object.
Map on which to display Marker.
The marker's opacity between 0.0 and 1.0.
Optimization renders many markers as a single static element. Optimized rendering is enabled by default. Disable optimized rendering for animated GIFs or PNGs, or when each marker must be rendered as a separate DOM element (advanced usage only).
Marker position.
Note that the position
must be set for the marker to display.
Image map region definition used for drag/click.
Rollover text.
If true
, the marker is visible.
All markers are displayed on the map in order of their zIndex
, with
higher values displaying in front of markers with lower values. By
default, markers are displayed according to their vertical position on
screen, with lower markers appearing in front of markers further up the
screen.
Generated using TypeDoc
MarkerOptions
object used to define the properties that can be set on a Marker.Maps JavaScript API