open class Feature : GeoJsonObject, Visitable<GeoJsonObjectVisitor!>, Serializable
Represents a spatially bound entity. Consists of a Geometry
object and an id. Both are optional. If geometry is absent, then feature is not placed on the map.
open class FeatureBuilder |
Feature()
Empty constructor for the Feature(properties: Optional<Properties!>!, geometry: Optional<Geometry!>!, id: Optional<String!>!)
Default constructor for the |
var boundingBox: Optional<BoundingBox!>! |
|
val type: String! |
open fun accept(visitor: GeoJsonObjectVisitor!): Unit |
|
open static fun builder(): Feature.FeatureBuilder!
Creates a new instance of |
|
open fun getGeometry(): Optional<Geometry!>!
Get the |
|
open fun getId(): Optional<String!>!
Get a commonly used identifier, if such exists. |
|
open fun getProperties(): Optional<Properties!>!
Get the |
open fun getBoundingBox(): Optional<BoundingBox!>!
A bounding box enclosing all geometries contained in this |
|
open fun setBoundingBox(boundingBox: BoundingBox!): Unit |
|
open fun toJson(): String!
Represent GeoJSON as a String compatible with RFC 7946 specification. |