maplibre-gl-layer-control-tidop 0.0.17 → 0.0.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -2137,7 +2137,7 @@ class LayerControl {
|
|
|
2137
2137
|
if (this.state.activeStyleEditor === layerId) {
|
|
2138
2138
|
var el = this.panel.querySelector(".layer-control-panel-layer-id");
|
|
2139
2139
|
if (el)
|
|
2140
|
-
el.
|
|
2140
|
+
el.nodeValue = "";
|
|
2141
2141
|
this.closeStyleEditor(layerId);
|
|
2142
2142
|
return;
|
|
2143
2143
|
}
|
|
@@ -2146,7 +2146,7 @@ class LayerControl {
|
|
|
2146
2146
|
}
|
|
2147
2147
|
var el = this.panel.querySelector(".layer-control-panel-layer-id");
|
|
2148
2148
|
if (el)
|
|
2149
|
-
el.
|
|
2149
|
+
el.nodeValue = layerId;
|
|
2150
2150
|
this.openStyleEditor(layerId);
|
|
2151
2151
|
}
|
|
2152
2152
|
/**
|