Class Feature
java.lang.Object
com.here.platform.data.client.model.geojson.Feature
- All Implemented Interfaces:
GeoJson,Serializable,scala.Equals,scala.Product
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classstatic final class -
Constructor Summary
ConstructorsConstructorDescriptionFeature(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 Summary
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface scala.Equals
canEqual, equalsMethods inherited from interface com.here.platform.data.client.model.geojson.GeoJson
toJson, toPrettyJsonMethods inherited from interface scala.Product
productArity, productElement, productElementName, productElementNames, productIterator, productPrefix
-
Constructor Details
-
Feature
-
-
Method Details
-
type
-
id
-
bbox
-
geometry
-
properties
-
customMembers
-
getType
- Returns:
- the type as 'Feature'
-
getId
- Returns:
- The ID of feature
-
getBbox
- Returns:
- The bounding box of the feature
-
getGeometry
- Returns:
- The geometry of the feature
-
getProperties
- Returns:
- The key-value pair of the property map
-
get
- Parameters:
key- the key whose associated value is to be returned- Returns:
- the value to which the specified key is mapped
-
getCustomMembers
- Returns:
- the Map of custom (foreign) members in the Feature object
-