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
mapPositions
Map positions that describe the section.
startBoundary
Start boundary of the section.
endBoundary
End boundary of the section.
startOffset
The offset from the start of the route to the start of the section.
endOffset
The offset from the start of the route to the end of the section.
-
Indicates if the
ProjectedRouteSection
is on the map.Important
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>?