VehicleSpecificSpeedLimit
public struct VehicleSpecificSpeedLimit : Hashable
Speed limit regulation specific to a vehicle type.
Note: This is a beta release of this feature, so there could be a few bugs and unexpected behaviors. Related APIs may change for new releases without a deprecation process.
-
Maximum permitted speed in meters per second.
Declaration
Swift
public var speedLimitInMetersPerSecond: Double -
If true, this speed limit is advisory rather than legally enforced.
Declaration
Swift
public var isAdvisory: Bool -
Max Override Speed indicates the maximum speed a commercial vehicle may travel within a BUA. Could be 0 if unlimited. A
nilvalue means the speed limit is not affected by the BUA override or not present.Declaration
Swift
public var builtUpAreaMaxOverrideSpeedInMetersPerSecond: Double? -
Conditions under which this speed limit is active.
Declaration
Swift
public var condition: VehicleRestrictionCondition -
init(speedLimitInMetersPerSecond:isAdvisory: builtUpAreaMaxOverrideSpeedInMetersPerSecond: condition: ) Creates a new instance with specified parameters.
Declaration
Swift
public init(speedLimitInMetersPerSecond: Double, isAdvisory: Bool, builtUpAreaMaxOverrideSpeedInMetersPerSecond: Double? = nil, condition: VehicleRestrictionCondition)