TomTomMapFactory
class TomTomMapFactory(context: Context, mapOptions: MapOptions, mapClientCallback: MapClientCallback, mapId: UUID, tileDataProvider: TileDataProvider? = null, dataProviders: List<DataProvider> = emptyList()) : AutoCloseable
Entry point to create new instance of TomTomMapInteraction.
Parameters
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.
dataProviders
A list of DataProvider to be used as an alternative source of tiles.
Constructors
Link copied to clipboard
fun TomTomMapFactory(context: Context, mapOptions: MapOptions, mapClientCallback: MapClientCallback, mapId: UUID, tileDataProvider: TileDataProvider? = null, dataProviders: List<DataProvider> = emptyList())