SpeedLimitSection
public struct SpeedLimitSection : Section
The SpeedLimitSection struct represents a route section with speed limits available.
-
Represents a route section with lane section available.
Declaration
Swift
public init( sectionLocation: SectionLocation, routeOffset: Measurement<UnitLength>, length: Measurement<UnitLength>, speedLimit: Measurement<UnitSpeed> = Measurement<UnitSpeed>.tt.kilometersPerHour(0.0) )Parameters
sectionLocationThe location of the section.
routeOffsetThe offset on the route where the section starts.
lengthThe length of the section.
speedLimitThe maximum legal speed limit in kilometers per hour.
-
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> -
The maximum legal speed limit.
Declaration
Swift
public let speedLimit: Measurement<UnitSpeed>
TomTom SDK for iOS (0.53.1)
SpeedLimitSection