getTrafficIncidents

Deprecated

This will be removed 6 months after the next release.

Gets the list of TrafficIncidents that are being displayed on a certain Route.

Return

The list of TrafficIncidents on the route, or null if the route is not in RoutingVisualization.plannedRoutes

Parameters

route

The Route from which traffic incidents are received.