public class
Marker
extends Object
A marker which can be added to a NavigationMap
.
Public Method Summary
float |
getAnchorU()
Horizontal distance, normalized to [0, 1], of the anchor from the left edge.
|
float |
getAnchorV()
Vertical distance, normalized to [0, 1], of the anchor from the top edge.
|
Bitmap |
getIcon()
Returns the icon that will be displayed for the marker.
|
LatLng |
getPosition()
Returns the geographical coordinates of the marker.
|
String |
getTitle()
Returns the title of the marker.
|
Inherited Method Summary
Public Methods
public float getAnchorU ()
Horizontal distance, normalized to [0, 1], of the anchor from the left edge.
Returns
- the u value of the anchor.
public float getAnchorV ()
Vertical distance, normalized to [0, 1], of the anchor from the top edge.
Returns
- the v value of the anchor.
public Bitmap getIcon ()
Returns the icon that will be displayed for the marker.
Returns
- the
Bitmap
icon for the marker or null if no custom icon will be displayed
public LatLng getPosition ()
Returns the geographical coordinates of the marker.
Returns
- a
LatLng
containing the coordinates of the marker
public String getTitle ()
Returns the title of the marker.
Returns
- a String representing the title of the marker