LaneGuidance

data class LaneGuidance(val lanes: List<Lane>, val laneSeparators: List<LaneSeparator>, val routeOffset: Distance, val length: Distance)

Contains information about lane guidance.

Parameters

lanes

List of lanes in lane guidance, ordered from left to right. Each contains a list of directions reachable from the lane, and optionally one recommended direction to follow.

laneSeparators

List of lane separators in lane guidance, ordered from left to right. Separators that are shared between adjacent lanes are only listed once. Therefore, there must be one more separator than the number of lanes.

routeOffset

Distance from the start of the route to the start point of LaneGuidance.

length

Distance from the the start point to the end point of LaneGuidance.

Constructors

Link copied to clipboard
constructor(lanes: List<Lane>, laneSeparators: List<LaneSeparator>, routeOffset: Distance, length: Distance)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard