MotorwaySection
public struct MotorwaySection : Section, SectionInitiable
The MotorwaySection struct contains information about a part of the route that goes by the motorway.
-
Creates a
MotorwaySectioninstance.Declaration
Swift
public init(sectionLocation: SectionLocation, routeOffset: Measurement<UnitLength>, length: Measurement<UnitLength>)Parameters
sectionLocationThe location of the section.
routeOffsetThe offset on the route where the section starts.
lengthThe length of 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>
TomTom SDK for iOS (0.53.1)
MotorwaySection