-
- All Implemented Interfaces:
-
org.osmdroid.views.util.constants.OverlayConstants
public class DirectedLocationOverlay extends Overlay
-
-
Constructor Summary
Constructors Constructor Description DirectedLocationOverlay(Context ctx)
-
Method Summary
Modifier and Type Method Description voidsetDirectionArrow(Bitmap image)fix for https://github. voidsetShowAccuracy(boolean pShowIt)voidsetLocation(GeoPoint mp)GeoPointgetLocation()voidsetAccuracy(int pAccuracy)voidsetBearing(float aHeading)voidonDetach(MapView view)Override to perform clean up of resources before shutdown. voiddraw(Canvas c, Projection pj)-
Methods inherited from class org.osmdroid.views.overlay.Overlay
draw, draw, getBounds, isEnabled, onDetach, onDoubleTap, onDoubleTapEvent, onDown, onFling, onKeyDown, onKeyUp, onLongPress, onPause, onResume, onScroll, onShowPress, onSingleTapConfirmed, onSingleTapUp, onTouchEvent, onTrackballEvent, setEnabled -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
DirectedLocationOverlay
DirectedLocationOverlay(Context ctx)
-
-
Method Detail
-
setDirectionArrow
void setDirectionArrow(Bitmap image)
fix for https://github.com/osmdroid/osmdroid/issues/249
-
setShowAccuracy
void setShowAccuracy(boolean pShowIt)
-
setLocation
void setLocation(GeoPoint mp)
-
getLocation
GeoPoint getLocation()
-
setAccuracy
void setAccuracy(int pAccuracy)
- Parameters:
pAccuracy- in Meters
-
setBearing
void setBearing(float aHeading)
-
onDetach
void onDetach(MapView view)
Override to perform clean up of resources before shutdown. By default does nothing.
-
draw
void draw(Canvas c, Projection pj)
-
-
-
-