getMapAsync

abstract fun getMapAsync(omhOnMapReadyCallback: OmhOnMapReadyCallback)

Returns a instance of the OmhMap through the callback, ready to be used. Note that: This method must be called from the main thread. The callback will be executed in the main thread.

Parameters

omhOnMapReadyCallback

the callback object that will be triggered when the map is ready to be used.