open class TrafficIncidentFlow : BaseTrafficIncident, Serializable
Traffic incidents flow data which can be taken from a vector incident tile.
TrafficIncidentFlow()
Traffic incidents flow data which can be taken from a vector incident tile. |
open fun accept(visitor: TrafficIncidentVisitor!): Unit |
|
open fun addCoordinatesToGeometry(coordinates: LatLng!): Unit |
|
open fun getGeometry(): ImmutableList<LatLng!>!
Gets the coordinates representing the geometry of the incident. Coordinates are precise enough for the current zoom level. |
open fun
Gets the id of the incident. |
|
open fun getIsLeftHandTraffic(): Optional<Boolean!>!
Gets the value which indicates if the road has left-hand traffic. If the tag is not present the road has right-hand traffic. |
|
open fun getMagnitude(): Optional<Int!>!
Gets the magnitude of delay associated with the incident. These values correspond to incident colors in the traffic tiles. |
|
open fun getRoadType(): Optional<String!>!
Gets the tag value describing the road type. |
|
open fun getTrafficRoadCoverage(): Optional<String!>!
Gets the tag value that describes if the traffic is assigned to the whole road (one-way road), or only to one side (two-way road). |
|
open fun setId(id: Long): Unit |
|
open fun setIsLeftHandTraffic(isLeftHandTraffic: Boolean): Unit |
|
open fun setMagnitude(magnitude: Int): Unit |
|
open fun setRoadType(roadType: String!): Unit |
|
open fun setTrafficRoadCoverage(trafficRoadCoverage: String!): Unit |