addOnStyleLoadedListener

abstract fun addOnStyleLoadedListener(onStyleLoadedListener: OnStyleLoadedListener)

Deprecated

This method is deprecated, and will be removed in next major release. use [subscribeStyleDataLoaded] instead.

Replace with

subscribeStyleDataLoaded(styleLoadedCallback)

Add a listener that's going to be invoked whenever the requested style has been fully loaded, including the style specified sprite and sources.