rotateBy

abstract fun rotateBy(first: ScreenCoordinate, second: ScreenCoordinate, animationOptions: MapAnimationOptions? = null): Cancelable

Rotate the map by with optional animation.

Return

Cancelable animator set object.

Parameters

first

The first pointer to rotate on

second

The second pointer to rotate on

animationOptions

Transition options (animation duration, listeners etc)