MultiLineString

@Serializable(with = GeometrySerializer::class)
data class MultiLineString @JvmOverloads constructor(val coordinates: List<List<Position>>, val bbox: BoundingBox? = null, val foreignMembers: Map<String, Any> = emptyMap()) : Geometry

Constructors

Link copied to clipboard
constructor(vararg coordinates: List<Position>, bbox: BoundingBox? = null, foreignMembers: Map<String, Any> = emptyMap())
constructor(coordinates: Array<Array<DoubleArray>>, bbox: BoundingBox? = null, foreignMembers: Map<String, Any> = emptyMap())
constructor(coordinates: List<List<Position>>, bbox: BoundingBox? = null, foreignMembers: Map<String, Any> = emptyMap())

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
open override val bbox: BoundingBox? = null

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

Link copied to clipboard
Link copied to clipboard
open 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.

Link copied to clipboard

Functions

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

Gets a JSON representation of this object.