rotateBy method

Future<void> rotateBy(
  1. ScreenCoordinate first,
  2. ScreenCoordinate second,
  3. MapAnimationOptions? mapAnimationOptions
)

Rotate the map by with optional animation.

Implementation

Future<void> rotateBy(ScreenCoordinate first, ScreenCoordinate second,
        MapAnimationOptions? mapAnimationOptions) =>
    _animationManager.rotateBy(first, second, mapAnimationOptions);