open class TrafficIncidentCluster : BaseTrafficIncident
Contains details of a cluster of incidents and a list of incidents that constitute this cluster.
TrafficIncidentCluster()
Contains details of a cluster of incidents and a list of incidents that constitute this cluster. |
open fun accept(visitor: TrafficIncidentVisitor!): Unit |
|
open fun addIncident(incident: TrafficIncident!): Unit |
|
open fun getBoundingBox(): BoundingBox!
Gets a bounding box encompassing all incidents in this cluster. |
|
open fun getIncidents(): MutableList<TrafficIncident!>
Gets a collection of incidents that constitute this cluster. |
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 |