setOnMapLoadedCallback

Sets a callback that is invoked once, after a draw in which all visible base map tiles were shown and the camera was not moving. If the map is already fully drawn, the callback is invoked after the next frame. Tile overlays are not waited for, because sparse overlays have no tiles for many areas.

The callback runs on the main thread, outside of the draw pass.

Parameters

callback

The callback, or null to remove a pending one