LaneType class

A class that provides information on the available lane properties.

The lane type values can be combined as follows:

  • High Occupancy Vehicle, Reversible
  • High Occupancy Vehicle and Express
  • Reversible and Express
  • High Occupancy Vehicle, Reversible and Express
  • High Occupancy Vehicle and Acceleration
  • Reversible, Acceleration Lane
  • High Occupancy Vehicle, Reversible, Acceleration Lane
  • Express and Acceleration
  • High Occupancy Vehicle and Deceleration
  • Reversible, Deceleration Lane
  • High Occupancy Vehicle, Reversible, Deceleration Lane
  • Express and Deceleration

Constructors

LaneType(bool isRegular, bool isHighOccupancyVehicle, bool isReversible, bool isExpress, bool isAcceleration, bool isDeceleration, bool isAuxiliary, bool isSlow, bool isPassing, bool isShoulder, bool isRegulatedAccess, bool isTurn, bool isCenterTurn, bool isTruckParking, bool isParking, bool isVariableDriving, bool isBicycle)
Creates a new instance.

Properties

hashCode → int
The hash code for this object.
no setter
isAcceleration ↔ bool
An acceleration lane is a lane, typically on the right side of a roadway, that lets a vehicle increase its speed to where it can safely merge with ongoing traffic. These lanes can be accessed from ramps, rest areas, or weigh stations.
getter/setter pair
isAuxiliary ↔ bool
An auxiliary lane is a lane that runs parallel to a motorway and connects the entrance ramp/acceleration lane from one interchange exit ramp/deceleration lane of the next interchange.
getter/setter pair
isBicycle ↔ bool
Bicycle lanes are lanes added to the road bed that only allow bicycle travel as indicated by lane markings, signs, buffers or barriers.
getter/setter pair
isCenterTurn ↔ bool
Center turn lane is a bidirectional turn lane located in the middle of a road that allows traffic in both directions to turn left (right for left side driving countries).
getter/setter pair
isDeceleration ↔ bool
A deceleration lane is the same as an acceleration lane but used for the opposite scenario.
getter/setter pair
isExpress ↔ bool
Express lane is a lane or set of lanes usually physically separated from the major roadway with limited entry and exit points to quickly move traffic in and out of a major metropolitan city. An express lane can be reversible, bidirectional, or one-way.
getter/setter pair
isHighOccupancyVehicle ↔ bool
A lane which is restricted for high occupancy vehicles. Note: High occupancy vehicles are vehicles with a driver and one or more passengers.
getter/setter pair
isParking ↔ bool
Parking lanes are portions of the road bed that may be used for parking legally. They may allow vehicles to use them as driving lanes at times, though.
getter/setter pair
isPassing ↔ bool
A passing lane is a lane that can occur on steep mountain grades or other roads where overtaking needs to be regulated for safety (i.e., curvy roads). They are used to safely pass slow moving vehicles.
getter/setter pair
isRegular ↔ bool
Regular lane is a lane that does not have a specific use.
getter/setter pair
isRegulatedAccess ↔ bool
A regulated lane access is a lane designated as a holding zone, used to regulate traffic using time intervals. Regulated lane access is only coded for truck holding zones that are used to regulate truck access into tunnels and over bridges using time intervals (e.g., some tunnel accesses in Switzerland).
getter/setter pair
isReversible ↔ bool
A lane in which traffic may travel in either direction, depending on certain conditions such as the time of the day to improve traffic flow during rush hours.
getter/setter pair
isShoulder ↔ bool
A shoulder lane is a reserved paved area on the side of the road (one or both sides) that is not generally used for driving, although it is possible under certain circumstances.
getter/setter pair
isSlow ↔ bool
A slow lane, also known as truck (US) or crawler lane (UK), is a lane on long and/or steep uphill/downhill stretches of high-speed roads that is designated to facilitate slow traffic.
getter/setter pair
isTruckParking ↔ bool
Truck parking lanes is a wide shoulder lane that may be used for truck parking as well as for emergency.
getter/setter pair
isTurn ↔ bool
Turn lane is a dedicated lane that is used for making a turn in order not to disrupt ongoing traffic.
getter/setter pair
isVariableDriving ↔ bool
Variable driving lanes are lanes added to a road that open and close to accommodate traffic volume and flow using variable indicators.
getter/setter pair
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.