OverlayItem

public class OverlayItem

Constructors

OverlayItem

public OverlayItem(MapDrawable map, GeoPoint coordinates, Bitmap marker)

OverlayItem

public OverlayItem(MapDrawable map, double longitude, double latitude, Bitmap marker)

Methods

getCoordinates

public GeoPoint getCoordinates(int CRS)

getMarker

public Bitmap getMarker()

getOffsetX

public float getOffsetX()

getOffsetY

public float getOffsetY()

getScreenCoordinates

public PointF getScreenCoordinates()

getScreenX

public float getScreenX()

getScreenY

public float getScreenY()

isVisible

public boolean isVisible()

setCoordinates

public void setCoordinates(GeoPoint point)

setCoordinatesFromWGS

public void setCoordinatesFromWGS(double longitude, double latitude)

setMarker

public void setMarker(Bitmap newMarker)

setMarkerGravity

public void setMarkerGravity(Gravity newGravity)

setVisible

public void setVisible(boolean isVisible)

updateScreenCoordinates

public void updateScreenCoordinates()