Package org.oscim.layers.marker
Class MarkerItem
java.lang.Object
org.oscim.layers.marker.MarkerItem
- All Implemented Interfaces:
MarkerInterface
Immutable class describing a GeoPoint with a Title and a Description.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionMarkerItem(Object uid, String title, String description, GeoPoint geoPoint) MarkerItem(String title, String description, GeoPoint geoPoint) -
Method Summary
Modifier and TypeMethodDescriptiongetPoint()getTitle()getUid()voidsetMarker(MarkerSymbol marker) voidsetRotation(float rotation)
-
Field Details
-
uid
-
title
-
description
-
geoPoint
-
mMarker
-
-
Constructor Details
-
MarkerItem
- Parameters:
title- this should be singleLine (no'\n')description- a multiLine description ('\n'possible)
-
MarkerItem
-
-
Method Details
-
getUid
-
getTitle
-
getSnippet
-
getPoint
- Specified by:
getPointin interfaceMarkerInterface
-
getMarker
- Specified by:
getMarkerin interfaceMarkerInterface
-
setMarker
-
setRotation
public void setRotation(float rotation)
-