public class FolderOverlay extends Overlay
Overlay.Snappable
Modifier and Type | Field and Description |
---|---|
protected String |
mDescription |
protected String |
mName |
protected OverlayManager |
mOverlayManager |
mBounds, SHADOW_X_SKEW, SHADOW_Y_SCALE
DEFAULT_ZOOMLEVEL_MINIMAP_DIFFERENCE, NOT_SET
Constructor and Description |
---|
FolderOverlay() |
FolderOverlay(Context ctx)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
add(Overlay item) |
void |
closeAllInfoWindows()
Close all opened InfoWindows of overlays it contains.
|
void |
draw(Canvas pCanvas,
MapView pMapView,
boolean pShadow)
Draw the overlay over the map.
|
void |
draw(Canvas pCanvas,
Projection pProjection) |
String |
getDescription() |
List<Overlay> |
getItems() |
String |
getName() |
void |
onDetach(MapView mapView)
Override to perform clean up of resources before shutdown.
|
boolean |
onLongPress(MotionEvent e,
MapView mapView)
By default does nothing (
return false ). |
boolean |
onSingleTapConfirmed(MotionEvent e,
MapView mapView)
By default does nothing (
return false ). |
boolean |
onSingleTapUp(MotionEvent e,
MapView mapView)
By default does nothing (
return false ). |
boolean |
onTouchEvent(MotionEvent e,
MapView mapView)
You can prevent all(!) other Touch-related events from happening!
By default does nothing ( return false ). |
boolean |
remove(Overlay item) |
void |
setDescription(String description) |
void |
setName(String name) |
drawAt, getBounds, getSafeMenuId, getSafeMenuIdSequence, isEnabled, onDoubleTap, onDoubleTapEvent, onDown, onFling, onKeyDown, onKeyUp, onPause, onResume, onScroll, onShowPress, onTrackballEvent, setEnabled
protected OverlayManager mOverlayManager
protected String mName
protected String mDescription
@Deprecated public FolderOverlay(Context ctx)
FolderOverlay()
insteadpublic FolderOverlay()
public void setName(String name)
public String getName()
public void setDescription(String description)
public String getDescription()
public List<Overlay> getItems()
public boolean add(Overlay item)
public boolean remove(Overlay item)
public void draw(Canvas pCanvas, Projection pProjection)
public void draw(Canvas pCanvas, MapView pMapView, boolean pShadow)
Overlay
Overlay.draw(Canvas, Projection)
instead (cf. MapSnapshot
public boolean onSingleTapUp(MotionEvent e, MapView mapView)
Overlay
return 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.onSingleTapUp
in class Overlay
public boolean onSingleTapConfirmed(MotionEvent e, MapView mapView)
Overlay
return 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.onSingleTapConfirmed
in class Overlay
public boolean onLongPress(MotionEvent e, MapView mapView)
Overlay
return 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 Overlay
public boolean onTouchEvent(MotionEvent e, MapView mapView)
Overlay
return 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
public void closeAllInfoWindows()