setRotation

abstract fun setRotation(@FloatRange(from = "-180.0", to = 180.0rotation: 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
fun setRotation(@FloatRange(from = "-180.0", to = 180.0rotation: Float)

Sets the rotation of map in degrees

Parameters

rotation

Rotation in degrees