LowSpeedZoneWarning

public struct LowSpeedZoneWarning : Hashable

A struct that provides low speed zone. The main field describing the low speed zone is LowSpeedZoneWarning.speed_limit_in_meters_per_second specifying the speed limit of the low speed zone. Use LowSpeedZoneWarningListener to get notifications about upcoming low speed zones.

  • id

    Unique identifier for this specific low speed zone warning instance. Each warning type (truck restrictions, speed warnings, etc.) maintains its own independent ID namespace. Use this ID to track, update, or dismiss individual warning instances of this type.

    Declaration

    Swift

    public var id: Int32
  • 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
  • The reference to the segment where the low speed zone is located. It can be used to identify the location.

    Declaration

    Swift

    public var segmentReference: SegmentReference
  • Creates a new instance.

    Declaration

    Swift

    public init(id: Int32 = 0, distanceToLowSpeedZoneInMeters: Double, speedLimitInMetersPerSecond: Double, distanceType: DistanceType, segmentReference: SegmentReference)