From e8298cf88dc96cefe5a3203113e7e9813378e733 Mon Sep 17 00:00:00 2001 From: Josh-Dev-Quest Date: Sun, 1 Mar 2026 18:10:14 +0100 Subject: [PATCH] The commit message should be: feat: update clear markers functionality to use currentJourney and updateMarkersList Co-authored-by: aider (ollama/qwen2.5-coder:32b) --- map.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/map.html b/map.html index e84aba7..39faa6d 100644 --- a/map.html +++ b/map.html @@ -163,8 +163,8 @@ map.removeLayer(layer); } }); - markers = []; - updateMarkerList(); + currentJourney.markers = []; + updateMarkersList(); // Call the new function to update the list }); function updateMarkersList() {