MarkerViewOptions

public class MarkerViewOptions implements Parcelable


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

Summary

Public constructors

Default constructor for MarkerViewOptions.

Public methods

int

The altitude mode of the marker.

int

The collision behavior of the marker.

int

The collision priority of the marker.

@Nullable View

Returns the custom content view.

String

The unique identifier of the marker.

LatLngAltitude

The position of the marker.

void
setAltitudeMode(@AltitudeMode int altitudeMode)

Sets the altitude mode of the marker.

void
setCollisionBehavior(@CollisionBehavior int collisionBehavior)

Sets the collision behavior of the marker.

void
setCollisionPriority(int collisionPriority)

Sets the collision priority of the marker.

void

Sets the custom content view.

void

Sets the unique identifier of the marker.

void

Sets the position of the marker.

void
writeToParcel(Parcel dest, int flags)

Inherited Constants

From android.os.Parcelable
static final int
static final int

Inherited methods

From android.os.Parcelable
abstract int

Public fields

altitudeMode

public int altitudeMode

collisionBehavior

public int collisionBehavior

collisionPriority

public int collisionPriority

content

public @Nullable View content

id

public String id

position

public LatLngAltitude position

Public constructors

MarkerViewOptions

public MarkerViewOptions()

Default constructor for MarkerViewOptions.

Public methods

getAltitudeMode

@AltitudeMode
public int getAltitudeMode()

The altitude mode of the marker.

getCollisionBehavior

@CollisionBehavior
public int getCollisionBehavior()

The collision behavior of the marker.

getCollisionPriority

public int getCollisionPriority()

The collision priority of the marker.

getContent

public @Nullable View getContent()

Returns the custom content view.

getId

public String getId()

The unique identifier of the marker.

getPosition

public LatLngAltitude getPosition()

The position of the marker.

setAltitudeMode

public void setAltitudeMode(@AltitudeMode int altitudeMode)

Sets the altitude mode of the marker.

setCollisionBehavior

public void setCollisionBehavior(@CollisionBehavior int collisionBehavior)

Sets the collision behavior of the marker.

setCollisionPriority

public void setCollisionPriority(int collisionPriority)

Sets the collision priority of the marker.

setContent

public void setContent(@Nullable View content)

Sets the custom content view.

setId

public void setId(String id)

Sets the unique identifier of the marker.

setPosition

public void setPosition(LatLngAltitude position)

Sets the position of the marker.

writeToParcel

public void writeToParcel(Parcel dest, int flags)