public class SimpleLocationOverlay extends Overlay
Overlay.Snappable
Modifier and Type | Field and Description |
---|---|
protected GeoPoint |
mLocation |
protected android.graphics.Paint |
mPaint |
protected android.graphics.Point |
PERSON_HOTSPOT
Coordinates the feet of the person are located.
|
protected android.graphics.Bitmap |
PERSON_ICON |
mResourceProxy, mScale, SHADOW_X_SKEW, SHADOW_Y_SCALE
DEBUGMODE, DEFAULT_ZOOMLEVEL_MINIMAP_DIFFERENCE, NOT_SET
Constructor and Description |
---|
SimpleLocationOverlay(android.content.Context ctx) |
SimpleLocationOverlay(android.content.Context ctx,
ResourceProxy pResourceProxy) |
Modifier and Type | Method and Description |
---|---|
void |
draw(android.graphics.Canvas c,
MapView osmv,
boolean shadow)
Draw the overlay over the map.
|
GeoPoint |
getMyLocation() |
void |
setLocation(GeoPoint mp) |
drawAt, getSafeMenuId, getSafeMenuIdSequence, isEnabled, onDetach, onDoubleTap, onDoubleTapEvent, onDown, onFling, onKeyDown, onKeyUp, onLongPress, onScroll, onShowPress, onSingleTapConfirmed, onSingleTapUp, onTouchEvent, onTrackballEvent, setEnabled
protected final android.graphics.Paint mPaint
protected final android.graphics.Bitmap PERSON_ICON
protected final android.graphics.Point PERSON_HOTSPOT
protected GeoPoint mLocation
public SimpleLocationOverlay(android.content.Context ctx)
public SimpleLocationOverlay(android.content.Context ctx, ResourceProxy pResourceProxy)
public void setLocation(GeoPoint mp)
public GeoPoint getMyLocation()
public void draw(android.graphics.Canvas c, MapView osmv, boolean shadow)
Overlay
Copyright © 2014. All Rights Reserved.