zywlgis 0.5.91-beta.13 → 0.5.91-beta.14

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zywlgis",
3
- "version": "0.5.91-beta.13",
3
+ "version": "0.5.91-beta.14",
4
4
  "description": "",
5
5
  "private": false,
6
6
  "module": "release/ZYWLGIS.es.js",
@@ -227029,7 +227029,7 @@ const NN = {
227029
227029
  lookAtPoint: "Look here",
227030
227030
  取消: "Cancel"
227031
227031
  }
227032
- }, Yn1 = "0.5.91-beta.13", Jn1 = { "maptalks-gl": "0.124.4" }, mu = {
227032
+ }, Yn1 = "0.5.91-beta.14", Jn1 = { "maptalks-gl": "0.124.4" }, mu = {
227033
227033
  version: Yn1,
227034
227034
  dependencies: Jn1
227035
227035
  };
@@ -380072,38 +380072,30 @@ const bd = (n, A) => {
380072
380072
  );
380073
380073
  } else if (A) {
380074
380074
  if (t = A.getLayer("group-tiles"), t) {
380075
- let h = t.getLayers();
380075
+ let h = [...t.getLayers()];
380076
380076
  this.MapLayers_Temp?.length ? a.push(
380077
380077
  this.processArrayAsync(h, (g) => {
380078
- if (g) {
380079
- let u = g.getId();
380080
- this.MapLayers_Temp.find((w) => w.ID + "-maptalks" === u) || (t.removeLayer([g]), C.removeMapLayer(u));
380081
- }
380078
+ let u = g.getId();
380079
+ this.MapLayers_Temp.find((w) => w.ID + "-maptalks" === u) || (t.removeLayer([g]), C.removeMapLayer(u));
380082
380080
  })
380083
380081
  ) : a.push(
380084
380082
  this.processArrayAsync(h, (g) => {
380085
- if (g) {
380086
- let u = g.getId();
380087
- t.removeLayer([g]), C.removeMapLayer(u);
380088
- }
380083
+ let u = g.getId();
380084
+ t.removeLayer([g]), C.removeMapLayer(u);
380089
380085
  })
380090
380086
  );
380091
380087
  }
380092
380088
  if (i = A.getLayer("group-header-tiles"), i) {
380093
- let h = i.getLayers();
380089
+ let h = [...i.getLayers()];
380094
380090
  this.MapLayers_Temp.length ? a.push(
380095
380091
  this.processArrayAsync(h, (g) => {
380096
- if (g) {
380097
- let u = g.getId();
380098
- this.MapLayers_Temp.find((w) => w.ID + "-maptalks" === u) || (i.removeLayer([g]), C.removeMapLayer(u));
380099
- }
380092
+ let u = g.getId();
380093
+ this.MapLayers_Temp.find((w) => w.ID + "-maptalks" === u) || (i.removeLayer([g]), C.removeMapLayer(u));
380100
380094
  })
380101
380095
  ) : a.push(
380102
380096
  this.processArrayAsync(h, (g) => {
380103
- if (g) {
380104
- let u = g.getId();
380105
- i.removeLayer([g]), C.removeMapLayer(u);
380106
- }
380097
+ let u = g.getId();
380098
+ i.removeLayer([g]), C.removeMapLayer(u);
380107
380099
  })
380108
380100
  );
380109
380101
  }