From 520a63754697a85cf1ef994fb74c442704d69464 Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 30 Oct 2025 16:03:29 +0000 Subject: [PATCH] =?UTF-8?q?Deaktiviere=20Standort-Animation=20f=C3=BCr=20s?= =?UTF-8?q?ofortige=20Anzeige?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Die Karte springt jetzt direkt zum Benutzerstandort ohne Flug-Animation ("Helikopter-Effekt"). Ă„nderung: - map.setView() mit animate: false beim Standort - Sofortige Positionierung statt 1 Sekunde Animation - Bessere UX: Kein Warten auf Animation đŸ¤– Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- index.html | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/index.html b/index.html index 5c63bfe..b69d670 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