SpeedLimitSection

public struct SpeedLimitSection : Section

The SpeedLimitSection struct represents a route section with speed limits available.

Lifecycle

  • 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.

Public