CarpoolSection

data class CarpoolSection(val geometry: List<GeoPoint>, val routeOffset: Distance, val length: Distance) : Section

Represents a route section that is only open to HOV (high-occupancy vehicles) at the time of traversal. Roads with at least one unrestricted lane are not part of this section.

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

See also

Constructors

Link copied to clipboard
fun CarpoolSection(geometry: List<GeoPoint>, routeOffset: Distance, length: Distance)

Properties

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

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.