From ae36e7767a58e087a75b60bdd5f8b0a887b96c9f Mon Sep 17 00:00:00 2001 From: Marcus Kida Date: Tue, 10 Feb 2026 09:31:36 +0100 Subject: [PATCH] Ignore klick on map if route is ongoing --- static/app.js | 1 + 1 file changed, 1 insertion(+) diff --git a/static/app.js b/static/app.js index 3d184f0..c5fa16f 100644 --- a/static/app.js +++ b/static/app.js @@ -801,6 +801,7 @@ }); map.on("click", function (e) { + if (isRouteMode) return; placePin(e.latlng); });