CurrentSituationLaneAssistanceView

public struct CurrentSituationLaneAssistanceView : Hashable

A struct that provides current situation lane assistance view information for the street at the current location.

  • A list of lanes on the current road. 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. Empty list means unavailability of lane data for the current location.

    The left to right order is in the travel direction. Only the lanes for the current driving direction are included.

    Note: Lanes going in opposite direction are not included in the list.

    Declaration

    Swift

    public var lanes: [CurrentSituationLaneView]
  • Creates a new instance.

    • Parameters

      • lanes: A list of lanes on the current road. 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. Empty list means unavailability of lane data for the current location.

      The left to right order is in the travel direction. Only the lanes for the current driving direction are included.

      Note: Lanes going in opposite direction are not included in the list.

    Declaration

    Swift

    public init(lanes: [CurrentSituationLaneView] = [])