LineString
data class LineString(val positions: List<GeoJsonPosition>, val boundingBox: GeoBoundingBox? = null) : Geometry, GeoJsonObject
Content copied to clipboard
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)
Content copied to clipboard