maplibre-gl-layer-control-tidop 0.0.6 → 0.0.7
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 +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -3455,7 +3455,7 @@ class LayerControl {
|
|
|
3455
3455
|
uiLayerIds.push(layerId);
|
|
3456
3456
|
}
|
|
3457
3457
|
});
|
|
3458
|
-
const reversedIds = [...uiLayerIds].reverse();
|
|
3458
|
+
const reversedIds = [...uiLayerIds].reverse().reverse();
|
|
3459
3459
|
const style = this.map.getStyle();
|
|
3460
3460
|
const mapLibreLayerIds = new Set(((_a = style == null ? void 0 : style.layers) == null ? void 0 : _a.map((l) => l.id)) || []);
|
|
3461
3461
|
for (let i = 0; i < reversedIds.length; i++) {
|