updateRoutesForTraffic

open override fun updateRoutesForTraffic(routes: List<List<GeoPoint>>)

Update the list of routes for which the client is interested in receiving traffic along the route. Providing an empty list disables traffic along the route. It can be enabled again by providing new routes via this method.

Receiving traffic along a navigated route can be useful to display traffic information for the route. However, it can also have a negative impact on planning routes onboard or finding faster alternatives.

Important: This is a Public Preview API. It may be changed or removed at any time.

Parameters

routes

The list of route poly-lines for which to receive and update traffic information.