We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
MapController.rotateAroundPoint
1 parent 4dcb3d5 commit f1d1675Copy full SHA for f1d1675
lib/src/map/controller/map_controller_impl.dart
@@ -245,8 +245,8 @@ class MapControllerImpl extends ValueNotifier<_MapControllerState>
245
}
246
247
final rotationDiff = degree - camera.rotation;
248
- final rotationCenter = (camera.projectAtZoom(camera.center) + offset!)
249
- .rotate(camera.rotationRad);
+ final rotationCenter = camera.projectAtZoom(camera.center) +
+ offset!.rotate(camera.rotationRad);
250
251
return (
252
moveSuccess: moveRaw(
0 commit comments