google.maps.MarkerOptions interface
MarkerOptions object used to define the properties that can be set on a Marker.
Properties
Type: Point optional
The offset from the marker's position to the tip of an InfoWindow that has been opened with the marker as anchor.
Type: Animation optional
Which animation to play when marker is added to a map.
Type: boolean optional
If true, the marker receives mouse and touch events. Default value is true.
Type: boolean optional
If false, disables cross that appears beneath the marker when dragging. This option is true by default.
Type: string optional
Mouse cursor to show on hover
Type: boolean optional
If true, the marker can be dragged. Default value is false.
Type: string|Icon|Symbol optional
Icon for the foreground. If a string is provided, it is treated as though it were an Icon with the string as url.
Type: string|MarkerLabel optional
Adds a label to the marker. The label can either be a string, or a MarkerLabel object.
Type: Map|StreetViewPanorama optional
Map on which to display Marker.
Type: number optional
The marker's opacity between 0.0 and 1.0.
Type: boolean optional
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).
Type: LatLng|LatLngLiteral optional
Marker position. Required.
Type: MarkerShape optional
Image map region definition used for drag/click.
Type: string optional
Rollover text
Type: boolean optional
If true, the marker is visible
Type: number optional
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.