TrafficFlow class abstract

This class provides details about traffic flow along a GeoCorridor, inside a GeoCircle or a GeoBox, that represents particular path of the road network.
Backends for TrafficEngine and traffic vector tiles are different however backends may share the same data.
For additional information about fields, refer to Traffic API v7 API Reference: Traffic API v7.

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.

Implemented types

Constructors

TrafficFlow()

Properties

confidence → double?
The confidence field indicates the proportion of real-time data included in the speed calculation. It is a normalized value between 0.0 and 1.0 with the following meaning:
no setter
freeFlowSpeedInMetersPerSecond → double
The reference speed in meters per second along the roadway when no traffic is present. Gets the reference speed in meters per second along the roadway when no traffic is present.
no setterinherited
hashCode → int
The hash code for this object.
no setterinherited
jamFactor → double
A value for the amount of traffic on the roadway. The value, between 0.0 and 10.0, indicate the expected quality of travel. A value of 0.0 indicates that there is no congestion on the roadway. As the value approaches 10.0, it indicates increasing congestion. A value of 10.0 is reserved to represent a blocked roadway (closure). Gets a value for the amount of traffic on the roadway.
no setterinherited
jamTendency → int?
The jamTendency field denotes whether the congestion is increasing, decreasing, or constant. The congestion tendency may take the following values:
no setter
junctionsTraversability JunctionsTraversability?
The traversability of junctions along the affected road. Gets the traversability of junctions along the affected road.
no setter
location TrafficLocation
Defines the location affected by traffic flow. Gets the location of the incident.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
speedInMetersPerSecond → double?
The expected speed in meters per second along the roadway; will not exceed the legal speed limit. Gets the expected speed in meters per second along the roadway; will not exceed the legal speed limit.
no setter
speedUncappedInMetersPerSecond → double?
The expected speed in meters per second that a car can drive along a roadway right now; may exceed the legal speed limit. It is based on probe data (GPS coordinates sent by vehicles or mobile devices driving along that roadway). The calculated 'expected speed' may be over the legal speed limit for that roadway because people are driving over the speed limit. Gets the expected speed in meters per second along the roadway.
no setter
traversability Traversability?
The traversability of roadway. Gets the traversability of roadway.
no setter

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