double tap on camera now zooms onto the camera

This commit is contained in:
stopflock
2025-08-07 12:30:33 -05:00
parent 128c9e3f88
commit 04315f077d
+1 -2
View File
@@ -42,8 +42,7 @@ class _CameraMapMarkerState extends State<_CameraMapMarker> {
void _onDoubleTap() {
_tapTimer?.cancel();
final c = widget.mapController.camera;
widget.mapController.move(c.center, c.zoom + 1);
widget.mapController.move(widget.node.coord, widget.mapController.camera.zoom + 1);
}
@override