From fd45588e19601559319da3af31fe13be07483650 Mon Sep 17 00:00:00 2001 From: orson Date: Mon, 24 Mar 2025 17:34:13 -0600 Subject: [PATCH] ooops, my bad x3 --- templates/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/index.html b/templates/index.html index 4f4cb0a..8018384 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(targetCenterPoint, 18, { duration: 0.7 }); + map.flyTo(latlng, 17, { duration: 0.7 }); map.once('moveend', function() { user_marker.setLatLng(latlng).bindPopup('').openPopup(); });