TollSection
public struct TollSection : Section
The TollSection struct contains information about a part of the route going via a toll road.
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>, tollPaymentTypes: Set<TollPaymentType> )Parameters
sectionLocationThe location of the section.
routeOffsetThe offset on the route where the section starts.
lengthThe length of the section.
tollPaymentTypesThe types of payments accepted at the toll gate.
-
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> -
Types of payments accepted at the toll gate
Declaration
Swift
public var tollPaymentTypes: Set<TollPaymentType>
TomTom SDK for iOS (TomTomSDKMapMatchingEngineHybrid 0.38.0-rc01 Docs)
TollSection