add On Scale Listener
fun MapPluginExtensionsDelegate.addOnScaleListener(listener: OnScaleListener)
Content copied to clipboard
Add a callback that is invoked when the map is scaled. Gesture plugin with id = Plugin.MAPBOX_GESTURES_PLUGIN_ID must be added while constructing com.mapbox.maps.MapView as part of com.mapbox.maps.MapInitOptions.plugins.
See also
com. mapbox. maps. Map Init Options
Throws
if gestures plugin was not added.