abstract class BaseTrafficIncident : Visitable<TrafficIncidentVisitor!>
Base class that contains details about traffic incident with a set of getters. Subclassed in TrafficIncident
.
BaseTrafficIncident()
Base class that contains details about traffic incident with a set of getters. Subclassed in |
open fun getAdjustedPosition(): LatLng!
Returns the point where an icon of the cluster or raw incident should be drawn. This is affected by traffic style, zoom level, and road type. |
|
open fun getIconCategory(): IncidentIconCategory!
Returns the icon category associated with this incident. |
|
open fun getId(): String!
Returns the ID of the traffic incident. |
|
open fun getLengthMeters(): Int
Returns the length of the incident in meters. |
|
open fun getMagnitude(): IncidentMagnitude!
Returns the magnitude of delay associated with this incident. |
|
open fun setIconCategory(iconCategory: Int): Unit |
|
open fun setMagnitude(magnitude: Int): Unit |
open class TrafficIncident : BaseTrafficIncident
Contains details of a single traffic incident. |
|
open class TrafficIncidentCluster : BaseTrafficIncident
Contains details of a cluster of incidents and a list of incidents that constitute this cluster. |