public class MapViewerOverlay
extends ItemizedOverlay
| Constructor and Description |
|---|
MapViewerOverlay(Drawable arg0,
Context airs)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
addOverlay(OverlayItem overlay)
Add an item with default marker to the overall overlay list
|
void |
addOverlay(OverlayItem overlay,
Drawable marker)
Add an item to the overall overlay list
|
void |
draw(Canvas canvas,
MapView mapView,
boolean shadow)
Draws the overlay items on the Map View
|
int |
size()
Returns number of the overlay items
|
public void addOverlay(OverlayItem overlay,
Drawable marker)
overlay - OverlayItem to be addedmarker - Drawable of this itempublic void addOverlay(OverlayItem overlay)
overlay - OverlayItem to be addedpublic int size()