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