SpecialSpeedType enum

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.

Values

unknown → const SpecialSpeedType

Unknown special speed type

advisorySpeed → const SpecialSpeedType

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.
speedBumpsPresent → const SpecialSpeedType

This indicates that for a stretch of road, speed bumps are present or chicanes are present that effectively reduce the posted speed.

school → const SpecialSpeedType

School zone signs are often placed to slow drivers before reaching an intersection where children are crossing.

timeDependent → const SpecialSpeedType

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.

approximateSeasonalTime → const SpecialSpeedType

Speed limit that is in effect considering the season

laneDependent → const SpecialSpeedType

These are situations where a road has different speed limits per lane.

rain → const SpecialSpeedType

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.

snow → const SpecialSpeedType

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.

fog → const SpecialSpeedType

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.

Properties

hashCode → int
The hash code for this object.
no setterinherited
index → int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Constants

values → const List<SpecialSpeedType>
A constant List of the values in this enum, in order of their declaration.