-
public class Feature extends Observable
An abstraction that shares the common properties of KmlPlacemark and GeoJsonFeature
-
-
Method Summary
Modifier and Type Method Description Iterable<String>getPropertyKeys()Returns all the stored property keys IterablegetProperties()Gets the property entry set StringgetProperty(String property)Gets the value for a stored property StringgetId()Gets the id of the feature booleanhasProperty(String property)Checks whether the given property key exists GeometrygetGeometry()Gets the geometry object booleanhasProperties()Gets whether the placemark has properties booleanhasGeometry()Checks if the geometry is assigned -
-
Method Detail
-
getPropertyKeys
Iterable<String> getPropertyKeys()
Returns all the stored property keys
-
getProperties
Iterable getProperties()
Gets the property entry set
-
getProperty
String getProperty(String property)
Gets the value for a stored property
- Parameters:
property- key of the property
-
hasProperty
boolean hasProperty(String property)
Checks whether the given property key exists
- Parameters:
property- key of the property to check
-
getGeometry
Geometry getGeometry()
Gets the geometry object
-
hasProperties
boolean hasProperties()
Gets whether the placemark has properties
-
hasGeometry
boolean hasGeometry()
Checks if the geometry is assigned
-
-
-
-