Section
public protocol Section
The Section protocol contains information about a part of the route.
-
Location of the lane section.
Declaration
Swift
var sectionLocation: SectionLocation { get }
-
Distance from the start of the route to startPoint
Declaration
Swift
var routeOffset: Measurement<UnitLength> { get set }
-
The length of the route section.
Declaration
Swift
var length: Measurement<UnitLength> { get }
-
range
Default implementationRange instance from the start of the route to the route startPoint with length.
Important
This is a Public Preview API. It may be changed or removed at any time.Default Implementation
Range instance from the start of the route to the route startPoint with length.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
var range: ClosedRange<Measurement<UnitLength>> { get }
-
updateRouteOffset(with:
Default implementation) Update the offset on the route for this section.
Important
This is a Public Preview API. It may be changed or removed at any time.Default Implementation
Update the offset on the route for this section.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
func updateRouteOffset(with: Measurement<UnitLength>) -> Self