JunctionViewLaneAssistance constructor
- List<
Lane> lanesForNextJunction, - double distanceToJunctionInMeters
Creates a new instance.
lanesForNextJunctionA list of lanes on the next complex junction. The lanes are sorted from left to right: The lane at index 0 represents the leftmost lane and the last index represents the rightmost lane. This is valid for right-hand and left-hand driving countries. An empty list means that the complex junction has been passed and that the lane information is not valid anymore. Exactly one event with a non-empty list is delivered before reaching a complex junction and one event with an empty list afterwards.
Note: Lanes going in opposite direction are not included in the list.
distanceToJunctionInMetersDistance to the next complex junction in meters.
Implementation
JunctionViewLaneAssistance(this.lanesForNextJunction, this.distanceToJunctionInMeters);