-
- All Implemented Interfaces:
public class PTRMapViewMarker extends Feature
Annotations that can be displayed on map should subclass this class. Note that you do not need to use this class to display POI's on map. The POI's are shown via style json. identifier - required to set the annotation identifier latitude - latitude of the annotation where it should be shown on the map longitude - longitude of the annotation where it should be shown on the map text - text of the annotation , this would only be shown if there is no icon level - level on which annotation has to be shown
-
-
Field Summary
Fields Modifier and Type Field Description private final Double
latitude
private final Double
longitude
private final Level
level
private final String
identifier
private final String
text
private final Boolean
shouldAllowOverlap
private String
id
private final String
eid
private final String
typeCode
private final Geometry
geometry
private final BoundingBox
boundingBox
private final Map<String, Object>
attributes
private final Map<String, Object>
extraData
private final Location
location
-
Method Summary
Modifier and Type Method Description final Double
getLatitude()
final Double
getLongitude()
final Level
getLevel()
level set during initialization final String
getIdentifier()
identifier for integrators (external identifier) String
getText()
final Boolean
getShouldAllowOverlap()
final String
getId()
final Unit
setId(String id)
final String
getEid()
final String
getTypeCode()
final Geometry
getGeometry()
final BoundingBox
getBoundingBox()
final Map<String, Object>
getAttributes()
final Map<String, Object>
getExtraData()
final Location
getLocation()
Boolean
equals(Object other)
Integer
hashCode()
-
-
Method Detail
-
getLatitude
final Double getLatitude()
-
getLongitude
final Double getLongitude()
-
getIdentifier
final String getIdentifier()
identifier for integrators (external identifier)
-
getShouldAllowOverlap
final Boolean getShouldAllowOverlap()
-
getId
final String getId()
String GUID value representing internal identifier. Corresponds to
fid
property of Feature returned from POI API
-
getTypeCode
final String getTypeCode()
-
getGeometry
final Geometry getGeometry()
-
getBoundingBox
final BoundingBox getBoundingBox()
-
getAttributes
final Map<String, Object> getAttributes()
-
getExtraData
final Map<String, Object> getExtraData()
-
getLocation
final Location getLocation()
-
-
-
-