sdk-common / com.tomtom.online.sdk.common.geojson.geometry / LineString

LineString

open class LineString : Geometry

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

Types

LineStringBuilder

open class LineStringBuilder

Constructors

<init>

LineString()

Empty constructor for a LineString.

LineString(coordinates: MutableList<LatLng!>!)

Default constructor for a LineString.

Functions

accept

open fun accept(visitor: GeoJsonObjectVisitor!): Unit

builder

open static fun builder(): LineString.LineStringBuilder!

Creates a new instance of LineStringBuilder.

getCoordinates

open fun getCoordinates(): ImmutableList<LatLng!>!

Returns a collection of two or more coordinates in WGS 84.