SectionLocation
public struct SectionLocation
The SectionLocation struct contains information about the location of the section.
-
Initializer
Declaration
Swift
public init( startPointIndex: Int = .zero, endPointIndex: Int = .zero, startPoint: CLLocationCoordinate2D, endPoint: CLLocationCoordinate2D )
Parameters
startPointIndex
The start index point in the section of the route.
endPointIndex
The end index point in the section of the route.
startPoint
Location of the beginning of the lane section, expressed as a latitude longitude pair.
endPoint
Location of the ending of the lane section, expressed as a latitude longitude pair.
-
The start index point in the section of the route.
Declaration
Swift
public let startPointIndex: Int
-
The end index point in the section of the route.
Declaration
Swift
public let endPointIndex: Int
-
Location of the beginning of the lane section, expressed as a latitude longitude pair.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public let startPoint: CLLocationCoordinate2D
-
Location of the ending of the lane section, expressed as a latitude longitude pair.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public let endPoint: CLLocationCoordinate2D