-
- All Implemented Interfaces:
-
org.osmdroid.views.util.constants.OverlayConstants
@Deprecated() public class GroundOverlay2 extends Overlay
A ground overlay is an image that is fixed to 2 corners on a map using simple scaling that does not take into consideration the curvature of the Earth.
-
-
Constructor Summary
Constructors Constructor Description GroundOverlay2()
-
Method Summary
Modifier and Type Method Description BitmapgetImage()floatgetBearing()voidsetBearing(float pBearing)voidsetTransparency(float pTransparency)floatgetTransparency()voidsetImage(Bitmap pImage)voiddraw(Canvas pCanvas, Projection pProjection)voidsetPosition(GeoPoint UL, GeoPoint RD)-
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
-
getBearing
float getBearing()
-
setBearing
void setBearing(float pBearing)
-
setTransparency
void setTransparency(float pTransparency)
-
getTransparency
float getTransparency()
-
draw
void draw(Canvas pCanvas, Projection pProjection)
-
setPosition
void setPosition(GeoPoint UL, GeoPoint RD)
- Parameters:
UL- upper leftRD- lower right
-
-
-
-