setActiveMapProvider

fun setActiveMapProvider(provider: MapProvider, listener: SetActiveMapProviderListener, executor: Executor? = null)

Set active Map Provider. Does nothing if the currently active provider is the same as desired one.

Parameters

provider

Desired Map Provider, to which the SDK shall switch. Must be one of the providers returned by GetAvailableMapProviders.

listener

Listener that will be called with result when the operation finishes.

executor

Executor to call listener on.