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
sectionLocation
|
The location of the section. |
routeOffset
|
The offset on the route where the section starts. |
length
|
The length of the section. |
speedLimit
|
The maximum legal speed limit in kilometers per hour. |
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
The maximum legal speed limit.
Declaration
Swift
public let speedLimit: Measurement<UnitSpeed>