Package 

Class Feature

    • Method Summary

      Modifier and Type Method Description
      Iterable<String> getPropertyKeys() Returns all the stored property keys
      Iterable getProperties() Gets the property entry set
      String getProperty(String property) Gets the value for a stored property
      String getId() Gets the id of the feature
      boolean hasProperty(String property) Checks whether the given property key exists
      Geometry getGeometry() Gets the geometry object
      boolean hasProperties() Gets whether the placemark has properties
      boolean hasGeometry() Checks if the geometry is assigned
      • Methods inherited from class java.util.Observable

        addObserver, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Feature

        Feature(Geometry featureGeometry, String id, Map<String, String> properties)
        Creates a new Feature object
        Parameters:
        featureGeometry - type of geometry to assign to the feature
        id - common identifier of the feature
        properties - map containing properties related to the feature