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, routeOffsetInMeters: Double, lengthInMeters: Double, speedLimitInKmh: Double = 0 )
Parameters
sectionLocation
Location of the lane section.
routeOffsetInMeters
Distance from the start of the route to [startPoint].
lengthInMeters
Length in meters from [startPoint] to [endPoint].
speedLimitInKmh
Maximum legal speed limit in kilometers per hour.
-
Declaration
Swift
public var sectionLocation: SectionLocation
-
Declaration
Swift
public var routeOffsetInMeters: Double
-
Declaration
Swift
public var lengthInMeters: Double