RoadSign class

Describes a road sign.

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.

Constructors

RoadSign(int offsetInMeters, TravelDirection travelDirection, RoadSignType roadSignType, RoadSignCategory roadSignCategory, bool isPrioritySign, GeneralWarningRoadSignType generalWarningType, List<RoadSignVehicleType> vehicleTypes, WeatherType weatherType)

Properties

generalWarningType GeneralWarningRoadSignType
Specifies the general warning to which the road sign belongs.
getter/setter pair
hashCode → int
The hash code for this object.
no setter
isPrioritySign ↔ bool
Flag indicating if the road sign is a priority sign.
getter/setter pair
localizedDuration LocalizedText?
Optional length information during which the warning is applicable. Usually, this information is shown on a separate shield below the main shield. For example, a sign may warn on playing children for a length of 100 m, starting from the location of the warning sign. The length information (most likely with units) is given as printed on the local road sign.
getter/setter pair
localizedPreWarning LocalizedText?
Optional pre-warning in terms of distance, of the upcoming warning or regulation. The pre-warning information is given as printed on the local road sign.
getter/setter pair
localizedSignValue LocalizedText?
Optional value visible on the main sign related to specific road sign types, as it is printed on the local road sign.
getter/setter pair
localizedValidityTime LocalizedText?
Optional text visible on the supplemental sign indicating specific time(s) at which the road sign is applicable. The time information is given as printed on the local road sign.
getter/setter pair
offsetInMeters ↔ int
The offset in meters from the beginning of the segment to the location of the road sign in positive direction.
getter/setter pair
roadSignCategory RoadSignCategory
The main category to which the road sign belongs.
getter/setter pair
roadSignType RoadSignType
Type of the road sign.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
travelDirection TravelDirection
Segment direction which the road sign is applied.
getter/setter pair
vehicleTypes ↔ List<RoadSignVehicleType>
Specifies a list of vehicle types for which the road sign is applicable. The list will be empty when the road sign is applicable for all vehicles including cars.
getter/setter pair
weatherType WeatherType
Specifies the weather type for which the sign is applicable. If weather type is WeatherType.UNKNOWN, the sign is actual for all weather types.
getter/setter pair

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.