rotateBy method

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

Rotates the camera between two touch points.

Implementation

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