getMapAsync

open override fun getMapAsync(callback: MapReadyCallback): Cancellable

Fetches a map instance asynchronously. The provided callback is invoked when the map instance is ready for use.

Return

Cancellable object that can be used to remove the listener if needed.

Parameters

callback

The listener to handle the map once it's ready.