createTrafficDataProvider

Creates an instance of DataProvider that handles traffic tile requests.

Parameters

trafficClient

An instance of Traffic for handling traffic event requests.


fun createTrafficDataProvider(trafficClient: Traffic, minimumZoomLevel: Int): DataProvider

Creates an instance of DataProvider that handles traffic tile requests.

Parameters

trafficClient

An instance of Traffic for handling traffic event requests.

minimumZoomLevel

The minimum zoom level for which to show traffic events.