getMapAsync

abstract fun getMapAsync(callback: OnMapReadyCallback): Cancellable

Sets a callback that will be triggered when the map instance is ready to use. The callback will be executed on the main thread.

Parameters

callback

The listener to handle the result.