ProjectedRouteSection
public struct ProjectedRouteSection
Describes part of the ProjectedRoute.
Important
This is a Public Preview API. It may be changed or removed at any time.-
Initializer.
Declaration
Swift
public init( mapPositions: [MapPosition], startBoundary: Boundary, endBoundary: Boundary, startOffset: Measurement<UnitLength>? = nil, endOffset: Measurement<UnitLength>? = nil )Parameters
mapPositionsMap positions that describe the section.
startBoundaryStart boundary of the section.
endBoundaryEnd boundary of the section.
startOffsetThe offset from the start of the route to the start of the section.
endOffsetThe offset from the start of the route to the end of the section.
-
Indicates if the
ProjectedRouteSectionis on the map.See moreImportant
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public enum Boundary -
Map positions that describe the section.
Declaration
Swift
public let mapPositions: [MapPosition] -
Start boundary of the projected route section.
Declaration
Swift
public let startBoundary: Boundary -
End boundary of the projected route section.
Declaration
Swift
public let endBoundary: Boundary -
The offset from the start of the route to the start of the projected route section.
Declaration
Swift
public let startOffset: Measurement<UnitLength>? -
The offset from the start of the route to the end of the projected route section.
Declaration
Swift
public let endOffset: Measurement<UnitLength>?
TomTom SDK for iOS (TomTomSDKMapMatchingEngineHybrid 0.38.0-rc01 Docs)
ProjectedRouteSection