Marker

public class Marker


A representation of a marker object in a 3D map.

Summary

Public methods

int

Returns the altitude mode of the marker.

int

Returns the collision behavior of the marker.

boolean

Returns whether the marker is drawn when occluded.

String

Returns the id of the marker.

String

Returns the label of the marker.

LatLngAltitude

Returns the position of the marker.

boolean

Returns whether the marker size is preserved.

String

Returns the url of the image to use for the marker.

int

Returns the zIndex of the marker.

boolean

Returns whether the marker is extruded.

void

Removes this marker from the 3d map.

void

Sets the altitude mode of the marker.

void

Sets the collision behavior of the marker.

void
setDrawsWhenOccluded(boolean value)

Sets whether the marker is drawn when occluded.

void
setExtruded(boolean value)

Sets whether the marker is extruded.

void

Sets the label of the marker.

void

Sets the position of the marker.

void
setSizePreserved(boolean value)

Sets whether the marker size is preserved.

void
setUrl(String value)

Sets the url of the image to use for the marker.

void
setZIndex(int value)

Sets the zIndex of the marker.

Public methods

getAltitudeMode

@AltitudeMode
public int getAltitudeMode()

Returns the altitude mode of the marker.

getCollisionBehavior

@CollisionBehavior
public int getCollisionBehavior()

Returns the collision behavior of the marker.

getDrawsWhenOccluded

public boolean getDrawsWhenOccluded()

Returns whether the marker is drawn when occluded.

getId

public String getId()

Returns the id of the marker.

getLabel

public String getLabel()

Returns the label of the marker.

getPosition

public LatLngAltitude getPosition()

Returns the position of the marker.

getSizePreserved

public boolean getSizePreserved()

Returns whether the marker size is preserved.

getUrl

public String getUrl()

Returns the url of the image to use for the marker.

getZIndex

public int getZIndex()

Returns the zIndex of the marker.

isExtruded

public boolean isExtruded()

Returns whether the marker is extruded.

remove

public void remove()

Removes this marker from the 3d map.

setAltitudeMode

public void setAltitudeMode(@AltitudeMode int value)

Sets the altitude mode of the marker.

setCollisionBehavior

public void setCollisionBehavior(@CollisionBehavior int value)

Sets the collision behavior of the marker.

setDrawsWhenOccluded

public void setDrawsWhenOccluded(boolean value)

Sets whether the marker is drawn when occluded.

setExtruded

public void setExtruded(boolean value)

Sets whether the marker is extruded.

setLabel

public void setLabel(String value)

Sets the label of the marker.

setPosition

public void setPosition(LatLngAltitude value)

Sets the position of the marker.

setSizePreserved

public void setSizePreserved(boolean value)

Sets whether the marker size is preserved.

setUrl

public void setUrl(String value)

Sets the url of the image to use for the marker.

setZIndex

public void setZIndex(int value)

Sets the zIndex of the marker.