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. If the function returns null, meaning no TileDataProvider, tiles will be fetched from 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.