MarkerView

public class MarkerView implements Anchorable


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

Developers are fully responsible for the accessibility of the content within their custom View.

Summary

Public methods

int

Returns the altitude mode of the marker view.

int

Returns the collision behavior of the marker view.

int

Returns the collision priority of the marker view.

String

Returns the id of the marker view.

@NonNull LatLngAltitude

Returns the position of the marker view.

void

Removes this marker view from the 3D map.

void

Sets the altitude mode of the marker view.

void

Sets the collision behavior of the marker view.

void

Sets the collision priority of the marker view.

void

Sets the position of the marker view.

Public methods

getAltitudeMode

@AltitudeMode
public int getAltitudeMode()

Returns the altitude mode of the marker view.

getCollisionBehavior

@CollisionBehavior
public int getCollisionBehavior()

Returns the collision behavior of the marker view.

getCollisionPriority

public int getCollisionPriority()

Returns the collision priority of the marker view.

Returns
int

The collision priority of the marker view.

getId

public String getId()

Returns the id of the marker view.

getPosition

public @NonNull LatLngAltitude getPosition()

Returns the position of the marker view.

remove

public void remove()

Removes this marker view from the 3D map.

setAltitudeMode

public void setAltitudeMode(@AltitudeMode int value)

Sets the altitude mode of the marker view.

setCollisionBehavior

public void setCollisionBehavior(@CollisionBehavior int value)

Sets the collision behavior of the marker view.

setCollisionPriority

public void setCollisionPriority(int value)

Sets the collision priority of the marker view.

Parameters
int value

The collision priority to set.

setPosition

public void setPosition(@NonNull LatLngAltitude value)

Sets the position of the marker view.