RoadAttributes class

Road attributes, including usage and physical characteristics.

Note that a road can have more than one attribute at the same time.

Constructors

RoadAttributes()

Properties

hashCode → int
The hash code for this object.
no setter
isBridge ↔ bool
Identifies a structure that allows a road, railway, or walkway to pass over another road, railway, waterway, or valley serving map display and route guidance functionalities. Bridge is published on segments that represent significant bridges and/or overpasses; elevated roads are not published as bridge.
getter/setter pair
isBuiltUpArea ↔ bool
Indicates if the navigable segment is a built up area.
getter/setter pair
isControlledAccess ↔ bool
Controlled access roads are roads with limited entrances and exits that allow uninterrupted high-speed traffic flow. For example, the Interstate/Freeway network in the United States or the Motorway network in Europe. Controlled Access can be used for map display, avoidance of freeway/motorway, publishing speed limits, and route guidance timing.
getter/setter pair
isDirtRoad ↔ bool
Indicates whether the navigable segment is paved. Paved is primarily used for map display and routing by assigning higher penalties to unpaved roads. Paved roads are made of concrete, asphalt, cobblestone or brick. Unpaved roads do not have a solid surface, e.g. are made of gravel, dirt or grass.
getter/setter pair
isDividedRoad ↔ bool
Indicates if there is a physical structure or painted road marking intended to legally prohibit left turns in right-side driving countries, right turns in left-side driving countries, and U-turns at divided intersections or in the middle of divided segments.
getter/setter pair
isNoThrough ↔ bool
Identifies a no through road. This can also be a part of the route you can only enter or leave if it’s a waypoint.
getter/setter pair
isPrivate ↔ bool
Private identifies roads that are not maintained by an organization responsible for maintenance of public roads. Allows for unique cartographic representation of roads that restrict public use. May be used to avoid routing through a private road.
getter/setter pair
isRamp ↔ bool
Range is a ramp: connects roads that do not intersect at grade. Ramp allows explication of maneuvers involving ramps (e.g., “Take the ramp”) and for route guidance when determining if sign text should be used.
getter/setter pair
isRightDrivingSide ↔ bool
Indicates if vehicles have to drive on the right-hand side of the road or the left-hand side. For example, in New York it is always true and in London always false as the United Kingdom is a left-hand driving country.
getter/setter pair
isRoundabout ↔ bool
Indicates the presence of a roundabout.
getter/setter pair
isTollway ↔ bool
Identifies a road for which a fee must be paid to use the road. Tollway may be used for map display (e.g., different rendering of toll roads) and routing. Tollway is flagged on roads that require a fee for traversal.
getter/setter pair
isTunnel ↔ bool
Identifies an enclosed (on all sides) passageway through or under an obstruction. This attribute can be used for display or route guidance.
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.