setRotation

open fun setRotation(rotation: Float, @NonNull() animation: MapAnimation)

Sets the rotation of map in degrees. By default,the map is oriented with north toward the top of the map (0 degrees).As the orientation angle increases,the map rotates counter-clockwise.

Parameters

rotation

Rotation in degrees

animation