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 GeoCoordinates.

Important: This is a Public Preview API. It may be changed or removed at any time.

Parameters

positions

Coordinates of the LineString.

boundingBox

Bounding box of the LineString (optional).

Constructors

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

Properties

Link copied to clipboard
open override val boundingBox: GeoBoundingBox? = null
Link copied to clipboard
val positions: List<GeoJsonPosition>