TomTomMapFactory

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

Entry point to create new instance of TomTomMapInteraction.

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.

Constructors

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

Functions

Link copied to clipboard
fun create(): TomTomMapInteraction

Creates a new instance of TomTomMapInteraction.

Link copied to clipboard
open override fun dispose()