onMapLoaded

open suspend fun onMapLoaded(style: Style, mapboxMap: MapboxMap, pluginProviderDelegate: MapPluginProviderDelegate)

See OnMapLoadedListener.onMapLoaded for details.

This function is also called on the CoroutineScope bound to the Style lifecycle. This function is called after the style is loaded and all the tiles are loaded. PluginProviderDelegate allows you to access available plugins MapboxMap should only be read and modified from the main thread.