rotatePoint method

  1. @override
  2. @Deprecated('Prefer `controller.camera.rotatePoint()`. ' 'This method is now accessible via the camera. ' 'This method is deprecated since v6.')
Point<double> rotatePoint(
  1. Point<num> mapCenter,
  2. Point<num> point, {
  3. bool counterRotation = true,
})
override

Implementation

@override
@Deprecated(
  'Prefer `controller.camera.rotatePoint()`. '
  'This method is now accessible via the camera. '
  'This method is deprecated since v6.',
)
Point<double> rotatePoint(
  Point mapCenter,
  Point point, {
  bool counterRotation = true,
}) =>
    camera.rotatePoint(
      mapCenter.toDoublePoint(),
      point.toDoublePoint(),
      counterRotation: counterRotation,
    );