maplibre-gl-layer-control-tidop 0.0.8 → 0.0.10
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
|
@@ -1634,7 +1634,7 @@ class LayerControl {
|
|
|
1634
1634
|
this.showContextMenu(layerId, e.clientX, e.clientY);
|
|
1635
1635
|
});
|
|
1636
1636
|
}
|
|
1637
|
-
this.panel.
|
|
1637
|
+
this.panel.insertBefore(item, this.panel.firstChild);
|
|
1638
1638
|
}
|
|
1639
1639
|
/**
|
|
1640
1640
|
* Create a symbol element for a layer
|
|
@@ -3456,7 +3456,7 @@ class LayerControl {
|
|
|
3456
3456
|
}
|
|
3457
3457
|
});
|
|
3458
3458
|
console.log(uiLayerIds);
|
|
3459
|
-
const reversedIds = [...uiLayerIds]
|
|
3459
|
+
const reversedIds = [...uiLayerIds];
|
|
3460
3460
|
console.log(reversedIds);
|
|
3461
3461
|
const style = this.map.getStyle();
|
|
3462
3462
|
const mapLibreLayerIds = new Set(((_a = style == null ? void 0 : style.layers) == null ? void 0 : _a.map((l) => l.id)) || []);
|