Modifier and Type | Method and Description |
---|---|
float |
getAngle()
Returns the angle of the marker, in degrees.
|
LatLng |
getPoint()
Returns the marker's location.
|
Object |
getUserData()
Gets custom user data.
|
boolean |
isVisible()
Returns whether or not the marker is visible on the map.
|
boolean |
setAngle(float angle)
Sets the angle of the marker.
|
boolean |
setDrawOrder(int drawOrder)
Sets the draw order for the marker to be used in z-order collisions.
|
boolean |
setPoint(LatLng point)
Sets the coordinate location, where the marker should be displayed.
|
boolean |
setPointEased(LatLng point,
int duration,
MapController.EaseType ease)
Sets the coordinate location, where the marker should be displayed with animation.
|
void |
setUserData(Object userData)
Custom user data storage.
|
boolean |
setVisible(boolean visible)
Changes the marker's visibility on the map.
|
public void setUserData(Object userData)
userData
- The user data to hold in this marker.public Object getUserData()
public boolean setPoint(LatLng point)
point
- lat/lng locationpublic boolean setPointEased(LatLng point, int duration, MapController.EaseType ease)
point
- lat/lng locationduration
- animation duration in millisecondsease
- animation typepublic LatLng getPoint()
public boolean setVisible(boolean visible)
visible
- whether or not the marker should be visiblepublic boolean setDrawOrder(int drawOrder)
drawOrder
- the draw order to setpublic boolean setAngle(float angle)
angle
- the angle to set, in degreespublic float getAngle()
public boolean isVisible()