SectionLocation
public struct SectionLocation
The SectionLocation struct contains information about the location of the section.
-
Creates a
SectionLocationinstance.Declaration
Swift
public init( startPointIndex: Int = .zero, endPointIndex: Int = .zero, startPoint: CLLocationCoordinate2D, endPoint: CLLocationCoordinate2D )Parameters
startPointIndexThe start index point in the section of the route.
endPointIndexThe end index point in the section of the route.
startPointLocation of the beginning of the lane section, expressed as a latitude-longitude pair.
endPointLocation 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
TomTom SDK for iOS (0.53.1)
SectionLocation