Merge branch 'v306' into develop

This commit is contained in:
ISA
2025-07-30 15:35:05 +02:00
13 changed files with 61 additions and 33 deletions

View File

@@ -70,7 +70,7 @@ const useDynamicDeviceLayers = (map, GisSystemStatic, mapLayersVisibility, prior
const editMode = localStorage.getItem("editMode") === "true";
Object.entries(markerStates).forEach(([key, markers]) => {
const isVisible = mapLayersVisibility[key];
const isVisible = mapLayersVisibility[key] ?? true; // undefined = true
markers.forEach(marker => {
const hasLayer = map.hasLayer(marker);