Geometry

@Serializable(with = GeometrySerializer::class)
sealed class Geometry : GeoJson

Inheritors

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
abstract override val bbox: BoundingBox?

An optional bounding box used to represent the limits of the object's geometry.

Link copied to clipboard
abstract override val foreignMembers: Map<String, Any>

Members not described by specification ("foreign members") MAY be used in a GeoJSON document. NOTE: Every custom type, which is added as a value will be represented also as a Map<String, Any>. If deserialization of custom types are desired, this hast to be done by consumer.

Functions

Link copied to clipboard
open override fun toString(): String