From 69297d8eec9379ca6d82b1cc041d583dfdc173ae Mon Sep 17 00:00:00 2001 From: you Date: Thu, 19 Mar 2026 07:51:42 +0000 Subject: [PATCH] Clear heatmap layer when clearing nodes for replay --- public/live.js | 1 + 1 file changed, 1 insertion(+) diff --git a/public/live.js b/public/live.js index ac25e25a..f165883a 100644 --- a/public/live.js +++ b/public/live.js @@ -845,6 +845,7 @@ } nodeMarkers = {}; nodeData = {}; + if (heatLayer) { map.removeLayer(heatLayer); heatLayer = null; } } function addNodeMarker(n) {