Feature

constructor(geometry: G, properties: P, id: String? = null, bbox: BoundingBox? = null)(source)

Parameters

G

The type of Geometry contained in this Feature.

P

The type of properties. This can be any type that serializes to a JSON object. For dynamic or unknown property schemas, use JsonObject. For known schemas, use a Serializable data class.