feat: zones - restore layer

This commit is contained in:
Azgaar 2024-08-31 21:21:51 +02:00
parent 5b5ea664d4
commit 76843464de
2 changed files with 2 additions and 2 deletions

View file

@ -181,6 +181,7 @@ function restoreLayers() {
if (layerIsOn("toggleIce")) drawIce();
if (layerIsOn("toggleEmblems")) drawEmblems();
if (layerIsOn("toggleMarkers")) drawMarkers();
if (layerIsOn("toggleZones")) drawZones();
// some layers are rendered each time, remove them if they are not on
if (!layerIsOn("toggleBorders")) borders.selectAll("path").remove();