diff --git a/modules/load.js b/modules/load.js index a03b9523..4f122b2d 100644 --- a/modules/load.js +++ b/modules/load.js @@ -920,7 +920,7 @@ function parseLoadedData(data) { }); markersGroup.style.display = null; - defs.remove(); + defs?.remove(); markerElements.forEach(el => el.remove()); if (layerIsOn("markers")) drawMarkers(); }