+
+
+
+ Map layers
+
+
+
+ setIsLayerControlVisible((visible) => !visible)}
+ aria-label="Hide layer control"
+ color="text"
+ className="layerControlPanel__visButton"
+ />
+
+
+
+
+ {demoLayers.map((layer) => (
+
+ {
+ setSelectedLayerConfig(layer);
+ if (selectedLayerConfig.id === layer.id && isLayerConfigVisible === false) {
+ setIsLayerConfigVisible((visible) => !visible);
+ }
+ }}
+ >
+
+
+
+
+ window.alert('Hidden button clicked')}
+ aria-label="Hide or show layer"
+ color="text"
+ />
+
+
+ window.alert('Delete button clicked')}
+ aria-label="Delete layer"
+ color="text"
+ />
+
+
-
-
-
- ))}
-
-
-