CarpoolSection
public struct CarpoolSection : Section, SectionInitiable
The CarpoolSection
struct contains information about a part of the route that involves a toll carpool.
Creates a CarpoolSection
instance.
Declaration
Swift
public init(sectionLocation: SectionLocation, routeOffset: Measurement<UnitLength>, length: Measurement<UnitLength>)
Parameters
sectionLocation
|
The location of the section. |
routeOffset
|
The offset on the route where the section starts. |
length
|
The length of the section. |
The length of the section.
Declaration
Swift
public var length: Measurement<UnitLength>
The offset on the route where the section starts.
Declaration
Swift
public var routeOffset: Measurement<UnitLength>
The location of the section.
Declaration
Swift
public var sectionLocation: SectionLocation