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.cjs
CHANGED
|
@@ -4366,7 +4366,7 @@ class LayerControl {
|
|
|
4366
4366
|
});
|
|
4367
4367
|
this.state.layerStates = newLayerStates;
|
|
4368
4368
|
this.buildLayerItems();
|
|
4369
|
-
(_b = this.onLayerReorder) == null ? void 0 : _b.call(this,
|
|
4369
|
+
(_b = this.onLayerReorder) == null ? void 0 : _b.call(this, orderedIds);
|
|
4370
4370
|
}
|
|
4371
4371
|
/**
|
|
4372
4372
|
* Move a layer to the top (highest rendering order)
|
|
@@ -4401,7 +4401,7 @@ class LayerControl {
|
|
|
4401
4401
|
});
|
|
4402
4402
|
this.state.layerStates = newLayerStates;
|
|
4403
4403
|
this.buildLayerItems();
|
|
4404
|
-
(_b = this.onLayerReorder) == null ? void 0 : _b.call(this,
|
|
4404
|
+
(_b = this.onLayerReorder) == null ? void 0 : _b.call(this, orderedIds);
|
|
4405
4405
|
}
|
|
4406
4406
|
/**
|
|
4407
4407
|
* Move a layer down in UI (lower rendering order = move to lower z-index)
|
|
@@ -4441,7 +4441,7 @@ class LayerControl {
|
|
|
4441
4441
|
});
|
|
4442
4442
|
this.state.layerStates = newLayerStates;
|
|
4443
4443
|
this.buildLayerItems();
|
|
4444
|
-
(_b = this.onLayerReorder) == null ? void 0 : _b.call(this,
|
|
4444
|
+
(_b = this.onLayerReorder) == null ? void 0 : _b.call(this, orderedIds);
|
|
4445
4445
|
}
|
|
4446
4446
|
/**
|
|
4447
4447
|
* Move a layer to the bottom (lowest rendering order among user layers)
|
|
@@ -4484,7 +4484,7 @@ class LayerControl {
|
|
|
4484
4484
|
});
|
|
4485
4485
|
this.state.layerStates = newLayerStates;
|
|
4486
4486
|
this.buildLayerItems();
|
|
4487
|
-
(_b = this.onLayerReorder) == null ? void 0 : _b.call(this,
|
|
4487
|
+
(_b = this.onLayerReorder) == null ? void 0 : _b.call(this, orderedIds);
|
|
4488
4488
|
}
|
|
4489
4489
|
/**
|
|
4490
4490
|
* Move a layer within its own group (or among the top-level rows), so the
|