addOnStyleDataLoadedListener

open override fun addOnStyleDataLoadedListener(onStyleDataLoadedListener: OnStyleDataLoadedListener)

Add a listener that's going to be invoked whenever the requested style data been loaded. The 'type' property defines what kind of style data has been loaded.

This event may be useful when application needs to modify style layers or sources and add or remove sources before style is fully loaded.