From 04315f077da4357935ad34d056d288c7fa84b85c Mon Sep 17 00:00:00 2001 From: stopflock Date: Thu, 7 Aug 2025 12:30:33 -0500 Subject: [PATCH] double tap on camera now zooms onto the camera --- lib/widgets/map_view.dart | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/widgets/map_view.dart b/lib/widgets/map_view.dart index 5b78dda..831e6c0 100644 --- a/lib/widgets/map_view.dart +++ b/lib/widgets/map_view.dart @@ -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