LaneSection

data class LaneSection(val geometry: List<GeoPoint>, val routeOffset: Distance, val length: Distance, val lanes: List<Lane>, val laneSeparators: List<LaneSeparator>) : Section

Represents a route section with lane section available.

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

See also

Parameters

lanes

Information about lane directions in the section.

laneSeparators

Information about lane separators in the section.

Constructors

Link copied to clipboard
fun LaneSection(geometry: List<GeoPoint>, routeOffset: Distance, length: Distance, lanes: List<Lane>, laneSeparators: List<LaneSeparator>)

Properties

Link copied to clipboard
open override val geometry: List<GeoPoint>

List of coordinates representing section.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val length: Distance

Distance from the the first point of geometry to the last point.

Link copied to clipboard
open override val routeOffset: Distance

Distance from the start of the route to the first point of geometry.