Section

public protocol Section

The Section protocol contains information about a part of the route.

Important

This is a Public Preview API. It may be changed or removed at any time.
  • 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 }
  • Length in meters.

    Declaration

    Swift

    var length: Measurement<UnitLength> { get }
  • range Default implementation

    Range instance from the start of the route to the route startPoint with length in meters.

    Default Implementation

    Declaration

    Swift

    var range: ClosedRange<Measurement<UnitLength>> { get }