del: [DeviceLayers]

This commit is contained in:
ISA
2025-08-21 17:10:32 +02:00
parent c44a755077
commit bf7b62d110
5 changed files with 5 additions and 11 deletions

View File

@@ -53,12 +53,6 @@ const useDynamicDeviceLayers = (map, GisSystemStatic, mapLayersVisibility, prior
uniqueMarkers.forEach(marker => {
marker.addTo(layerRefs.current[key]);
});
// Debug: Anzahl Marker in LayerGroup
console.log(
`[DeviceLayers] ${
layerRefs.current[key].getLayers().length
} Marker in LayerGroup für ${key}`
);
}
setMarkerStates(prev => ({ ...prev, [key]: newMarkers }));
},