tileDataProviderFactory

var tileDataProviderFactory: () -> TileDataProvider

A function that can be called to obtain an instance of TileDataProvider, that will then be used as an alternative source of MapDisplay tiles (instead of the default, which is fetching tiles over the network via HTTP API calls).

This should be set before instantiating any com.tomtom.sdk.maps.display.ui.MapView or com.tomtom.sdk.maps.display.ui.MapFragment objects.