TomTomMapFactory

fun TomTomMapFactory(    context: Context,     mapOptions: MapOptions,     mapClientCallback: MapClientCallback,     mapId: UUID,     tileDataProvider: TileDataProvider? = null)

Parameters

context

The Context in which the TomTomMap should be created.

mapOptions

MapOptions with the initial map configuration.

mapClientCallback

Callback invoked when the map is dirty and requires redrawing.

mapId

The UUID of the TomTomMapInteraction. The ID should be saved during configuration changes.

tileDataProvider

An instance of TileDataProvider to be used as an alternative source of MapDisplay tiles.