ManeuverViewLaneAssistance

public struct ManeuverViewLaneAssistance : Hashable

A struct that provides lane assistance information for the next maneuver(s). During turn-by-turn navigation lane assistance can help a driver to choose the recommended lanes in order to complete the upcoming maneuvers. The notifications are synchronized with the EventTextDelegate. EventTextDelegate has 4 notification types for each maneuver: Range, Reminder, Distance and Action. Only the maneuver notification of type Distance will also notify a ManeuverViewLaneAssistance object (e.g. “After 400 meters, turn right onto Invalidenstraße”). The notification will not be sent when other types of maneuver notification are given. The notification will not be sent when no lane data is available. During tracking mode, no notifications are delivered. This ManeuverViewLaneAssistance information is valid until the next maneuver is reached.

  • A list of lanes on the current road that leads to the upcoming maneuver. 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 both right-hand and left-hand driving countries. Contraflow lanes are not included in the list. The list is guaranteed to be non-empty. RoadAttributes.isRightDrivingSide indicates if this is a left-hand driving country or not.

    Declaration

    Swift

    public var lanesForNextManeuver: [Lane]
  • A list of lanes on the road that leads to the maneuver after the upcoming maneuver. 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 both right-hand and left-hand driving countries. Contraflow lanes are not included in the list. RoadAttributes.isRightDrivingSide indicates if this is a left-hand driving country or not. By default, this list is empty. It will be filled when the next two maneuvers are too close to each other, or when the next two maneuvers are roundabout maneuvers. Note: This notification is delivered at the same time as the ManeuverViewLaneAssistance.lanesForNextManeuver. There is no separate maneuver notification on the second maneuver when two maneuvers are are too close to each other.

    Declaration

    Swift

    public var lanesForNextNextManeuver: [Lane]
  • Creates a new instance.

    Declaration

    Swift

    public init(lanesForNextManeuver: [Lane], lanesForNextNextManeuver: [Lane])