TravelModeSection

data class TravelModeSection(    val geometry: List<GeoCoordinate>,     val routeOffset: Distance,     val length: Distance,     val travelMode: TravelMode) : Section

Represents a route section with lane section available.

See also

Parameters

travelMode

Travel mode of the route section.

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

Constructors

Link copied to clipboard
fun TravelModeSection(    geometry: List<GeoCoordinate>,     routeOffset: Distance,     length: Distance,     travelMode: TravelMode)

Properties

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

List of coordinates representing section.

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.

Link copied to clipboard
val travelMode: TravelMode