getTrafficIncidents
Deprecated
This will be removed from future releases after 2025-03-31.
Replace with
traffic.getTrafficIncidents(route:)
Content copied to clipboard
Gets the list of TrafficIncidents that are being displayed on a certain MapDisplayRoute.
Return
The list of TrafficIncidents on the route, or null
if the route is not in routes.
Parameters
route
The MapDisplayRoute from which to get traffic incidents.