rotate By
fun rotateBy(first: ScreenCoordinate, second: ScreenCoordinate, animationOptions: MapAnimationOptions? = null, completionListener: CompletionListener? = null)
Rotate the map using two screen coordinates as rotation pivots, with optional animation.
Parameters
first
The first pointer to rotate on
second
The second pointer to rotate on
animation Options
Transition options (animation duration, listeners etc)
completion Listener
the optional CompletionListener to observe the completion of the transition