From 999fe39ad44a665fa03e7b8c047a83d6a389fabd Mon Sep 17 00:00:00 2001 From: orson Date: Mon, 24 Mar 2025 17:32:15 -0600 Subject: [PATCH] ooops, my bad x2 --- templates/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/index.html b/templates/index.html index 3a9ccc3..4f4cb0a 100644 --- a/templates/index.html +++ b/templates/index.html @@ -121,7 +121,7 @@ let targetLatLng = map.containerPointToLatLng(targetCenterPoint); // Fly to the adjusted center so the marker appears 25% lower from the center - map.flyTo(latlng, 18, { duration: 0.7 }); + map.flyTo(targetCenterPoint, 18, { duration: 0.7 }); map.once('moveend', function() { user_marker.setLatLng(latlng).bindPopup('').openPopup(); });