@gis_victory/gismap 1.0.47 → 1.0.49
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.es.js +1 -2
- package/dist/index.umd.js +2 -2
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -82831,6 +82831,7 @@ class LayerManager2 {
|
|
|
82831
82831
|
if (vectorLayer.isQuery) {
|
|
82832
82832
|
this.queryLayerIds.push(layerConfig.id);
|
|
82833
82833
|
}
|
|
82834
|
+
this.map?.pubsub.emit("layer-checked", vectorLayer);
|
|
82834
82835
|
return this;
|
|
82835
82836
|
}
|
|
82836
82837
|
addGroupLayer(layer) {
|
|
@@ -94861,7 +94862,6 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
94861
94862
|
if (layer.layers && layer.layers.length > 0) {
|
|
94862
94863
|
if (checked) {
|
|
94863
94864
|
map2?.manager.layerManager.addGroupLayer(layer);
|
|
94864
|
-
map2?.pubsub.emit("layer-checked", layer);
|
|
94865
94865
|
} else {
|
|
94866
94866
|
map2?.manager.layerManager.removeGroupLayer(layer);
|
|
94867
94867
|
}
|
|
@@ -94882,7 +94882,6 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
94882
94882
|
if (layer.checked) {
|
|
94883
94883
|
map2?.manager.layerManager.addGroupLayer(layer);
|
|
94884
94884
|
_checkedKeys.push(layer.id);
|
|
94885
|
-
map2?.pubsub.emit("layer-checked", layer);
|
|
94886
94885
|
}
|
|
94887
94886
|
if (layer.expand) {
|
|
94888
94887
|
_expandKeys.push(layer.id);
|