GeoJsonFeature

@Serializable
data class GeoJsonFeature(val geometry: Geometry? = null, val id: String = "", val properties: Map<String, JsonPrimitive> = emptyMap(), val type: String = FEATURE, val serverVersion: Int = 0) : Serializable

Constructors

Link copied to clipboard
constructor(geometry: Geometry? = null, id: String = "", properties: Map<String, JsonPrimitive> = emptyMap(), type: String = FEATURE, serverVersion: Int = 0)

Properties

Link copied to clipboard
val geometry: Geometry? = null
Link copied to clipboard
val id: String
Link copied to clipboard
val properties: Map<String, JsonPrimitive>
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun toFeature(): Feature