setRotation

open fun setRotation(@FloatRange(from = "-180.0", to = 180.0) 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 so that at 90 degrees.

Parameters

rotation

Rotation in degrees

animation