Feature

data class Feature(val geometry: Geometry?, val properties: Properties?, val boundingBox: GeoBoundingBox? = null) : GeoJsonObject

Represents a spatially bound entity that consists of a Geometry object and an ID. Both are optional. The feature is not placed on the map if the geometry is absent.

Constructors

Link copied to clipboard
constructor(geometry: Geometry?, properties: Properties?, boundingBox: GeoBoundingBox? = null)

Properties

Link copied to clipboard
open override val boundingBox: GeoBoundingBox? = null
Link copied to clipboard

Geometry object representing geometrical properties of the Feature like points, curves, or surfaces.

Link copied to clipboard

Properties of this feature in JSON format. The data collection from properties complements the Feature.