LaneSection
public struct LaneSection : Section
The LaneSection struct contains information about a part of the route related to lanes.
Important
This is a Public Preview API. It may be changed or removed at any time.-
Initializer
Declaration
Swift
public init( sectionLocation: SectionLocation, routeOffset: Measurement<UnitLength>, length: Measurement<UnitLength>, lanes: [Lane] = [], laneSeparators: [LaneSeparator] = [] )Parameters
sectionLocationThe location of the section.
routeOffsetThe offset on the route where the section starts.
lengthThe length of the section.
lanesList of lanes in the section.
laneSeparatorsList of lane separators in the section.
-
The location of the section.
Declaration
Swift
public var sectionLocation: SectionLocation -
The offset on the route where the section starts.
Declaration
Swift
public var routeOffset: Measurement<UnitLength> -
The length of the section.
Declaration
Swift
public var length: Measurement<UnitLength> -
List of lanes in the section.
Declaration
Swift
public let lanes: [Lane] -
List of lane separators in the section.
Declaration
Swift
public let laneSeparators: [LaneSeparator]
LaneSection Structure Reference