getTrafficIncidents

Deprecated

This will be removed 6 months after the next release.

Replace with

traffic.getTrafficIncidents(route:)

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.