Intersection
public struct Intersectionextension Intersection: Codableextension Intersection: EquatableA single cross street along a step.
- 
                  
                  The geographic coordinates at the center of the intersection. DeclarationSwift public let location: CLLocationCoordinate2D
- 
                  
                  An array of CLLocationDirections indicating the absolute headings of the roads that meet at the intersection.A road is represented in this array by a heading indicating the direction from which the road meets the intersection. To get the direction of travel when leaving the intersection along the road, rotate the heading 180 degrees. A single road that passes through this intersection is represented by two items in this array: one for the segment that enters the intersection and one for the segment that exits it. DeclarationSwift public let headings: [CLLocationDirection]
- 
                  
                  The indices of the items in the headingsarray that correspond to the roads that may be used to leave the intersection.This index set effectively excludes any one-way road that leads toward the intersection. DeclarationSwift public let outletIndexes: IndexSet
- 
                  
                  The index of the item in the headingsarray that corresponds to the road that the containing route step uses to approach the intersection.This property is set to nilfor a departure maneuver.DeclarationSwift public let approachIndex: Int?
- 
                  
                  The index of the item in the headingsarray that corresponds to the road that the containing route step uses to leave the intersection.This property is set to nilfor an arrival maneuver.DeclarationSwift public let outletIndex: Int?
- 
                  
                  The road classes of the road that the containing step uses to leave the intersection. If road class information is unavailable, this property is set to nil.DeclarationSwift public let outletRoadClasses: RoadClasses?
- 
                  
                  All the lanes of the road that the containing route step uses to approach the intersection. Each item in the array represents a lane, which is represented by one or more LaneIndications.If no lane information is available for the intersection, this property’s value is nil. The first item corresponds to the leftmost lane, the second item corresponds to the second lane from the left, and so on, regardless of whether the surrounding country drives on the left or on the right.DeclarationSwift public let approachLanes: [LaneIndication]?
- 
                  
                  The indices of the items in the approachLanesarray that correspond to the lanes that may be used to execute the maneuver.If no lane information is available for an intersection, this property’s value is nil.DeclarationSwift public let usableApproachLanes: IndexSet?
- 
                  
                  DeclarationSwift public func encode(to encoder: Encoder) throws
- 
                  
                  DeclarationSwift public init(from decoder: Decoder) throws
- 
                  
                  DeclarationSwift public static func == (lhs: Intersection, rhs: Intersection) -> Bool
 Install in Dash
              Install in Dash
             Intersection Structure Reference
        Intersection Structure Reference