getMapAsync

fun getMapAsync(omhOnMapReadyCallback: OmhOnMapReadyCallback)

Sets a callback object which will be triggered when the OmhMap instance is 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.