LineString

data class LineString(val positions: List<GeoJsonPosition>, val boundingBox: GeoBoundingBox? = null) : Geometry, GeoJsonObject

A GeoJSON Geometry type comprising a collection of two or more GeoPoints.

Constructors

Link copied to clipboard
constructor(positions: List<GeoJsonPosition>, boundingBox: GeoBoundingBox? = null)

Properties

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

Bounding box of the LineString (optional).

Link copied to clipboard

Coordinates of the LineString.