getMapAsync

Sets a callback that will be triggered when the map instance is ready to use. The callback will be executed on the main thread. Note: You must call this method from the main thread. Otherwise an exception will be thrown.

Return

Cancellable object that can be used to remove listener

Parameters

callback

The listener to handle the result.