pitchBy

fun pitchBy(pitch: Double, animationOptions: MapAnimationOptions? = null, completionListener: CompletionListener? = null)

Pitch the map by the given amount in degrees with optional animation.

Parameters

pitch

The amount to pitch by, in degrees

animationOptions

Transition options (animation duration, listeners etc)

completionListener

the optional CompletionListener to observe the completion of the transition