Packages

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

Linear Supertypes
Serializable, Serializable, Product, Equals, GeoJson, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Feature
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. GeoJson
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. 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

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. val bbox: Option[Seq[Double]]
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  7. val customMembers: Option[Map[String, Any]]
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. val geometry: Option[Geometry]
  11. 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

  12. def getBbox: List[Double]

    returns

    The bounding box of the feature

  13. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. def getCustomMembers: Map[String, Any]

    returns

    the Map of custom (foreign) members in the Feature object

  15. def getGeometry: Geometry

    returns

    The geometry of the feature

  16. def getId: String

    returns

    The ID of feature

  17. def getProperties: Map[String, Any]

    returns

    The key-value pair of the property map

  18. def getType: String

    returns

    the type as 'Feature'

  19. val id: Option[String]
  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  23. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  24. val properties: Option[Map[String, Any]]
  25. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  26. def toJson: String

    returns

    the JSON string of the object

    Definition Classes
    GeoJson
  27. def toPrettyJson: String

    returns

    the JSON string of the object in pretty format

    Definition Classes
    GeoJson
  28. val type: String
  29. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from GeoJson

Inherited from AnyRef

Inherited from Any

Ungrouped