-
public class OverlayItemAn Item that can be displayed in a ItemizedOverlay or ItemizedIconOverlay.
Immutable class describing a GeoPoint with a Title and a Description.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public enumOverlayItem.HotspotPlaceIndicates a hotspot for an area. This is where the origin (0,0) of a point will be locatedrelative to the area. In otherwords this acts as an offset. NONE indicates that no adjustmentshould be made.
-
Field Summary
Fields Modifier and Type Field Description public final static intITEM_STATE_FOCUSED_MASKpublic final static intITEM_STATE_PRESSED_MASKpublic final static intITEM_STATE_SELECTED_MASK
-
Constructor Summary
Constructors Constructor Description OverlayItem(String aTitle, String aSnippet, IGeoPoint aGeoPoint)OverlayItem(String aUid, String aTitle, String aDescription, IGeoPoint aGeoPoint)
-
Method Summary
Modifier and Type Method Description StringgetUid()StringgetTitle()StringgetSnippet()IGeoPointgetPoint()DrawablegetMarker(int stateBitset)voidsetMarker(Drawable marker)voidsetMarkerHotspot(OverlayItem.HotspotPlace place)OverlayItem.HotspotPlacegetMarkerHotspot()static voidsetState(Drawable drawable, int stateBitset)DrawablegetDrawable()intgetWidth()intgetHeight()-
-
Method Detail
-
getSnippet
String getSnippet()
-
setMarkerHotspot
void setMarkerHotspot(OverlayItem.HotspotPlace place)
-
getMarkerHotspot
OverlayItem.HotspotPlace getMarkerHotspot()
-
getDrawable
Drawable getDrawable()
-
getWidth
int getWidth()
-
getHeight
int getHeight()
-
-
-
-