pitch By
fun MapPluginExtensionsDelegate.pitchBy(pitch: Double, animationOptions: MapAnimationOptions? = null): Cancelable
Content copied to clipboard
Extension pitchBy() function for MapPluginExtensionsDelegate Pitch the map by with optional animation.
Camera plugin with id = Plugin.MAPBOX_CAMERA_PLUGIN_ID must be added while constructing MapView as part of MapInitOptions.plugins.
Return
Cancelable animator set object or empty cancelable object if associated MapView was destroyed.
Parameters
pitch
The amount to pitch by
animation Options
Transition options (animation duration, listeners etc)