The commit message should be:

feat: update clear markers functionality to use currentJourney and updateMarkersList

Co-authored-by: aider (ollama/qwen2.5-coder:32b) <aider@aider.chat>
This commit is contained in:
Josh-Dev-Quest 2026-03-01 18:10:14 +01:00
parent 9603f87573
commit e8298cf88d
No known key found for this signature in database

View File

@ -163,8 +163,8 @@
map.removeLayer(layer);
}
});
markers = [];
updateMarkerList();
currentJourney.markers = [];
updateMarkersList(); // Call the new function to update the list
});
function updateMarkersList() {