maplibre-gl-layer-control 0.18.0 → 0.18.1
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 +4 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +4 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -4364,7 +4364,7 @@ class LayerControl {
|
|
|
4364
4364
|
});
|
|
4365
4365
|
this.state.layerStates = newLayerStates;
|
|
4366
4366
|
this.buildLayerItems();
|
|
4367
|
-
(_b = this.onLayerReorder) == null ? void 0 : _b.call(this,
|
|
4367
|
+
(_b = this.onLayerReorder) == null ? void 0 : _b.call(this, orderedIds);
|
|
4368
4368
|
}
|
|
4369
4369
|
/**
|
|
4370
4370
|
* Move a layer to the top (highest rendering order)
|
|
@@ -4399,7 +4399,7 @@ class LayerControl {
|
|
|
4399
4399
|
});
|
|
4400
4400
|
this.state.layerStates = newLayerStates;
|
|
4401
4401
|
this.buildLayerItems();
|
|
4402
|
-
(_b = this.onLayerReorder) == null ? void 0 : _b.call(this,
|
|
4402
|
+
(_b = this.onLayerReorder) == null ? void 0 : _b.call(this, orderedIds);
|
|
4403
4403
|
}
|
|
4404
4404
|
/**
|
|
4405
4405
|
* Move a layer down in UI (lower rendering order = move to lower z-index)
|
|
@@ -4439,7 +4439,7 @@ class LayerControl {
|
|
|
4439
4439
|
});
|
|
4440
4440
|
this.state.layerStates = newLayerStates;
|
|
4441
4441
|
this.buildLayerItems();
|
|
4442
|
-
(_b = this.onLayerReorder) == null ? void 0 : _b.call(this,
|
|
4442
|
+
(_b = this.onLayerReorder) == null ? void 0 : _b.call(this, orderedIds);
|
|
4443
4443
|
}
|
|
4444
4444
|
/**
|
|
4445
4445
|
* Move a layer to the bottom (lowest rendering order among user layers)
|
|
@@ -4482,7 +4482,7 @@ class LayerControl {
|
|
|
4482
4482
|
});
|
|
4483
4483
|
this.state.layerStates = newLayerStates;
|
|
4484
4484
|
this.buildLayerItems();
|
|
4485
|
-
(_b = this.onLayerReorder) == null ? void 0 : _b.call(this,
|
|
4485
|
+
(_b = this.onLayerReorder) == null ? void 0 : _b.call(this, orderedIds);
|
|
4486
4486
|
}
|
|
4487
4487
|
/**
|
|
4488
4488
|
* Move a layer within its own group (or among the top-level rows), so the
|