SpecialSpeedType
public enum SpecialSpeedType : UInt32, CaseIterable, Codable
Represents the speed situation 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.
-
Unknown special speed type
Declaration
Swift
case unknown -
These posted speeds are not the legal limit, but rather serve to warn a driver that road conditions indicate a lower speed is practical. Typically, the road condition is a curved road or a ramp but it may be due to a narrow road, narrow bridge, intersecting road, drainage dip, etc. In some cases, the advisory sign is on a different road than the one for which it applies (this can happen with ramps). In this case, the advisory speed is indicated for the road for which it is intended, even if the sign is further than 50 meters from the particular road.
- Advisory speed signs due to construction are not included.
- A speed value is published for advisory signs.
Declaration
Swift
case advisorySpeed -
This indicates that for a stretch of road, speed bumps are present or chicanes are present that effectively reduce the posted speed.
Declaration
Swift
case speedBumpsPresent -
School zone signs are often placed to slow drivers before reaching an intersection where children are crossing.
Declaration
Swift
case school -
A conditional speed limit as indicated on the local road signs. Speed limit that is in effect considering the current local time provided by the device’s clock.
Declaration
Swift
case timeDependent -
Speed limit that is in effect considering the season
Declaration
Swift
case approximateSeasonalTime -
These are situations where a road has different speed limits per lane.
Declaration
Swift
case laneDependent -
A conditional speed limit as indicated on the local road signs. The road speed limit that is in effect only when it is raining or there is water on the road.
A possible usage example can be to show an icon on the device’s screen containing both special speed limit value and a visual cue in order to warn the user about the conditional speed limit.
Declaration
Swift
case rain -
A conditional speed limit as indicated on the local road signs. The road speed limit that is in effect only when there is snow on the road.
A possible usage example can be to show an icon on the device’s screen containing both special speed limit value and a visual cue in order to warn the user about the conditional speed limit.
Declaration
Swift
case snow -
A conditional speed limit as indicated on the local road signs. The road speed limit that is in effect only when the visibility decreases due to fog.
A possible usage example can be to show an icon on the device’s screen containing both special speed limit value and a visual cue in order to warn the user about the conditional speed limit.
Declaration
Swift
case fog