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.

Parameters

positions

Coordinates of the LineString.

boundingBox

Bounding box of the LineString (optional).

Constructors

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

Properties

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