rotatePoint method
- @override
- @Deprecated('Prefer `controller.camera.rotatePoint()`. ' 'This method is now accessible via the camera. ' 'This method is deprecated since v6.')
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,
);