final case class Feature(type: String = "Feature", id: Option[String] = None, bbox: Option[Seq[Double]] = None, geometry: Option[Geometry] = None, properties: Option[Map[String, Any]] = None, customMembers: Option[Map[String, Any]] = None) extends GeoJson with Product with Serializable
Defines the Feature of GeoJSON
- type
the type as 'Feature'
- id
The unique ID of the feature
- bbox
The bounding box of the feature; for meaning of bbox coordinates see https://developer.here.com/documentation/data-client-library/dev_guide/client/publish-data.html#interactive-layer-coords
- geometry
The geometry could be Point, LineString, Polygon, MultiPoint, MultiLineString and MultiPolygon
- properties
The key-value pair of property map
- customMembers
The map of custom (foreign) members in the Feature object
- Alphabetic
- By Inheritance
- Feature
- Serializable
- Serializable
- Product
- Equals
- GeoJson
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
Feature(type: String = "Feature", id: Option[String] = None, bbox: Option[Seq[Double]] = None, geometry: Option[Geometry] = None, properties: Option[Map[String, Any]] = None, customMembers: Option[Map[String, Any]] = None)
- type
the type as 'Feature'
- id
The unique ID of the feature
- bbox
The bounding box of the feature; for meaning of bbox coordinates see https://developer.here.com/documentation/data-client-library/dev_guide/client/publish-data.html#interactive-layer-coords
- geometry
The geometry could be Point, LineString, Polygon, MultiPoint, MultiLineString and MultiPolygon
- properties
The key-value pair of property map
- customMembers
The map of custom (foreign) members in the Feature object
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- val bbox: Option[Seq[Double]]
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- val customMembers: Option[Map[String, Any]]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- val geometry: Option[Geometry]
-
def
get(key: String): Any
- key
the key whose associated value is to be returned
- returns
the value to which the specified key is mapped
-
def
getBbox: List[Double]
- returns
The bounding box of the feature
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
getCustomMembers: Map[String, Any]
- returns
the Map of custom (foreign) members in the Feature object
-
def
getGeometry: Geometry
- returns
The geometry of the feature
-
def
getId: String
- returns
The ID of feature
-
def
getProperties: Map[String, Any]
- returns
The key-value pair of the property map
-
def
getType: String
- returns
the type as 'Feature'
- val id: Option[String]
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val properties: Option[Map[String, Any]]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toJson: String
- returns
the JSON string of the object
- Definition Classes
- GeoJson
-
def
toPrettyJson: String
- returns
the JSON string of the object in pretty format
- Definition Classes
- GeoJson
- val type: String
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()