java.lang.Object
com.here.platform.data.client.model.geojson.Feature
All Implemented Interfaces:
GeoJson, Serializable, scala.Equals, scala.Product

public final class Feature extends Object implements GeoJson, scala.Product, Serializable
See Also:
  • Constructor Details

    • Feature

      public Feature(String type, scala.Option<String> id, scala.Option<scala.collection.immutable.Seq<Object>> bbox, scala.Option<Geometry> geometry, scala.Option<scala.collection.immutable.Map<String,Object>> properties, scala.Option<scala.collection.immutable.Map<String,Object>> customMembers)
  • Method Details

    • type

      public String type()
    • id

      public scala.Option<String> id()
    • bbox

      public scala.Option<scala.collection.immutable.Seq<Object>> bbox()
    • geometry

      public scala.Option<Geometry> geometry()
    • properties

      public scala.Option<scala.collection.immutable.Map<String,Object>> properties()
    • customMembers

      public scala.Option<scala.collection.immutable.Map<String,Object>> customMembers()
    • getType

      public String getType()
      Returns:
      the type as 'Feature'
    • getId

      public String getId()
      Returns:
      The ID of feature
    • getBbox

      public List<Double> getBbox()
      Returns:
      The bounding box of the feature
    • getGeometry

      public Geometry getGeometry()
      Returns:
      The geometry of the feature
    • getProperties

      public Map<String,Object> getProperties()
      Returns:
      The key-value pair of the property map
    • get

      public Object get(String key)
      Parameters:
      key - the key whose associated value is to be returned
      Returns:
      the value to which the specified key is mapped
    • getCustomMembers

      public Map<String,Object> getCustomMembers()
      Returns:
      the Map of custom (foreign) members in the Feature object