LowSpeedZoneWarning
public struct LowSpeedZoneWarning : Hashable
A low speed zone. The main field describing the low speed zone is LowSpeedZoneWarning.speedLimitInMetersPerSecond
specifying the speed limit of the low speed zone.
Use lowSpeedZoneWarningDelegate to get notifications about upcoming low speed zones.
-
Distance to the low speed warning in meters.
Declaration
Swift
public var distanceToLowSpeedZoneInMeters: Double -
Speed limit of the low speed zone.
Declaration
Swift
public var speedLimitInMetersPerSecond: Double -
The distance type for the warning, e.g. a warning for a new low speed zone ahead or a warning for passing a low speed zone.
Declaration
Swift
public var distanceType: DistanceType -
Creates a new instance.
Declaration
Swift
public init(distanceToLowSpeedZoneInMeters: Double, speedLimitInMetersPerSecond: Double, distanceType: DistanceType)