From 217979724ba4d9bfcd5268f820d4a98db6c3ccd1 Mon Sep 17 00:00:00 2001 From: Serverlele30 <46974281+Serverlele30@users.noreply.github.com> Date: Thu, 30 Oct 2025 17:21:53 +0100 Subject: [PATCH] Update index.html --- index.html | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/index.html b/index.html index 5c63bfe..cf0b7d3 100644 --- a/index.html +++ b/index.html @@ -1030,10 +1030,9 @@ const lon = position.coords.longitude; userPosition = [lat, lon]; - // Center map on user location + // Center map on user location immediately (no animation) map.setView([lat, lon], 16, { - animate: true, - duration: 1 + animate: false }); // Remove old location marker if exists @@ -1180,4 +1179,4 @@ }); - \ No newline at end of file +