Representation of customizable inputs for a marker on the map. These options are intended
to apply to all markers of a particular
MarkerType
.
Nested Class Summary
class | ConsumerMarkerOptions.Builder | Builds
ConsumerMarkerOptions instance. |
Public Constructor Summary
Public Method Summary
static ConsumerMarkerOptions.Builder |
builder()
|
abstract float |
getAlpha()
Gets the alpha (opacity) for a marker.
|
abstract float |
getAnchorU()
Gets the horizontal distance, normalized to [0, 1], of the anchor from the left
edge.
|
abstract float |
getAnchorV()
Gets the vertical distance, normalized to [0, 1], of the anchor from the top
edge.
|
abstract Integer |
getIconResId()
Gets the icon resource id for a marker.
|
abstract float |
getInfoWindowAnchorU()
Gets the horizontal distance, normalized to [0, 1], of the info window anchor
from the left edge.
|
abstract float |
getInfoWindowAnchorV()
Gets the vertical distance, normalized to [0, 1], of the info window anchor
from the top edge.
|
abstract boolean |
getIsDraggable()
Gets the draggability setting for a marker.
|
abstract boolean |
getIsFlat()
Gets the flat setting for a marker.
|
abstract GoogleMap.OnMarkerClickListener | |
abstract String |
getSnippet()
Gets the snippet for a marker.
|
abstract Object |
getTag()
Gets the tag for a marker.
|
abstract String |
getTitle()
Gets the title for a marker.
|
abstract Float |
getZIndex()
Gets the z-index for a marker.
|
abstract boolean |
isVisible()
Gets the visibility setting for a marker.
|
abstract ConsumerMarkerOptions.Builder |
Inherited Method Summary
Public Constructors
public ConsumerMarkerOptions ()
Public Methods
public static ConsumerMarkerOptions.Builder builder ()
public abstract float getAlpha ()
Gets the alpha (opacity) for a marker.
public abstract float getAnchorU ()
Gets the horizontal distance, normalized to [0, 1], of the anchor from the left edge.
public abstract float getAnchorV ()
Gets the vertical distance, normalized to [0, 1], of the anchor from the top edge.
public abstract Integer getIconResId ()
Gets the icon resource id for a marker.
public abstract float getInfoWindowAnchorU ()
Gets the horizontal distance, normalized to [0, 1], of the info window anchor from the left edge.
public abstract float getInfoWindowAnchorV ()
Gets the vertical distance, normalized to [0, 1], of the info window anchor from the top edge.
public abstract boolean getIsDraggable ()
Gets the draggability setting for a marker. Note that this field is ignored for markers of type MarkerType.TripVehicleMarker.
public abstract boolean getIsFlat ()
Gets the flat setting for a marker.
public abstract GoogleMap.OnMarkerClickListener getOnClickListener ()
public abstract String getSnippet ()
Gets the snippet for a marker.
public abstract Object getTag ()
Gets the tag for a marker.
public abstract String getTitle ()
Gets the title for a marker.
public abstract Float getZIndex ()
Gets the z-index for a marker.
public abstract boolean isVisible ()
Gets the visibility setting for a marker.