-
- All Implemented Interfaces:
-
org.osmdroid.views.util.constants.OverlayConstants
public class GroundOverlay extends Overlay
Place an image on the map, each corner (4) of the image being associated with a GeoPoint or only top-left and bottom-right corners
-
-
Constructor Summary
Constructors Constructor Description GroundOverlay()
-
Method Summary
Modifier and Type Method Description voidsetImage(Bitmap pImage)BitmapgetImage()voidsetBearing(float pBearing)floatgetBearing()voidsetTransparency(float pTransparency)floatgetTransparency()GeoPointgetTopLeft()GeoPointgetTopRight()GeoPointgetBottomRight()GeoPointgetBottomLeft()voiddraw(Canvas pCanvas, Projection pProjection)voidsetPosition(GeoPoint pTopLeft, GeoPoint pTopRight, GeoPoint pBottomRight, GeoPoint pBottomLeft)voidsetPosition(GeoPoint pTopLeft, GeoPoint pBottomRight)-
Methods inherited from class org.osmdroid.views.overlay.Overlay
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
-
-
Method Detail
-
setBearing
void setBearing(float pBearing)
-
getBearing
float getBearing()
-
setTransparency
void setTransparency(float pTransparency)
-
getTransparency
float getTransparency()
-
getTopLeft
GeoPoint getTopLeft()
-
getTopRight
GeoPoint getTopRight()
-
getBottomRight
GeoPoint getBottomRight()
-
getBottomLeft
GeoPoint getBottomLeft()
-
draw
void draw(Canvas pCanvas, Projection pProjection)
-
setPosition
void setPosition(GeoPoint pTopLeft, GeoPoint pTopRight, GeoPoint pBottomRight, GeoPoint pBottomLeft)
-
setPosition
void setPosition(GeoPoint pTopLeft, GeoPoint pBottomRight)
-
-
-
-