
public class SpeechBalloonOverlay extends Overlay
Overlay.SnappablemBounds, SHADOW_X_SKEW, SHADOW_Y_SCALEDEFAULT_ZOOMLEVEL_MINIMAP_DIFFERENCE, NOT_SET| Constructor and Description |
|---|
SpeechBalloonOverlay() |
| Modifier and Type | Method and Description |
|---|---|
void |
draw(Canvas pCanvas,
Projection pProjection) |
boolean |
onLongPress(MotionEvent event,
MapView mapView)
By default does nothing (
return false). |
boolean |
onTouchEvent(MotionEvent event,
MapView mapView)
You can prevent all(!) other Touch-related events from happening!
By default does nothing ( return false). |
void |
setBackground(Paint pBackground) |
void |
setDragBackground(Paint pDragBackground) |
void |
setDragForeground(Paint pDragForeground) |
void |
setForeground(Paint pForeground) |
void |
setGeoPoint(GeoPoint pGeoPoint) |
void |
setMargin(int pMargin) |
void |
setOffset(int pOffsetX,
int pOffsetY) |
void |
setRadius(long pRadius) |
void |
setTitle(String pTitle) |
draw, drawAt, getBounds, getSafeMenuId, getSafeMenuIdSequence, isEnabled, onDetach, onDoubleTap, onDoubleTapEvent, onDown, onFling, onKeyDown, onKeyUp, onPause, onResume, onScroll, onShowPress, onSingleTapConfirmed, onSingleTapUp, onTrackballEvent, setEnabledpublic void setTitle(String pTitle)
public void setGeoPoint(GeoPoint pGeoPoint)
public void setBackground(Paint pBackground)
public void setForeground(Paint pForeground)
public void setDragBackground(Paint pDragBackground)
public void setDragForeground(Paint pDragForeground)
public void setMargin(int pMargin)
public void setRadius(long pRadius)
public void setOffset(int pOffsetX,
int pOffsetY)
public void draw(Canvas pCanvas, Projection pProjection)
public boolean onLongPress(MotionEvent event, MapView mapView)
Overlayreturn false). If you handled the Event, return true
, otherwise return false. If you returned true none of the following Overlays
or the underlying MapView has the chance to handle this event.onLongPress in class Overlaypublic boolean onTouchEvent(MotionEvent event, MapView mapView)
Overlayreturn false). If you handled the Event, return true
, otherwise return false. If you returned true none of the following Overlays
or the underlying MapView has the chance to handle this event.onTouchEvent in class Overlay