LaneGuidance

constructor(lanes: List<Lane>, laneSeparators: List<LaneSeparator>, routeOffset: Distance, length: Distance)

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.