zywlgis 0.5.83 → 0.5.85

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/release/ZYWLGIS.es.js +165 -231
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zywlgis",
3
- "version": "0.5.83",
3
+ "version": "0.5.85",
4
4
  "description": "",
5
5
  "private": false,
6
6
  "module": "release/ZYWLGIS.es.js",
@@ -12633,7 +12633,7 @@ function ztA(n, A, e, t, i) {
12633
12633
  const r = n.viewState.center, s = t[0] - r[0], a = t[1] - r[1];
12634
12634
  return 65536 * Math.log(i) + Math.sqrt(s * s + a * a) / i;
12635
12635
  }
12636
- const Si = (...n) => {
12636
+ const Fi = (...n) => {
12637
12637
  }, zM = (n) => {
12638
12638
  };
12639
12639
  class ff {
@@ -12883,7 +12883,7 @@ class ff {
12883
12883
  wrapS: Cesium.TextureWrap.CLAMP_TO_EDGE,
12884
12884
  wrapT: Cesium.TextureWrap.CLAMP_TO_EDGE
12885
12885
  })
12886
- }), this.textureReady = !0, Si("✅ 纹理加载完成 (Base64)");
12886
+ }), this.textureReady = !0, Fi("✅ 纹理加载完成 (Base64)");
12887
12887
  }, t.onerror = () => {
12888
12888
  console.error("❌ 纹理加载失败 (Base64)"), this.createDefaultTexture(A);
12889
12889
  }, t.src = this.imageUrl;
@@ -12899,7 +12899,7 @@ class ff {
12899
12899
  wrapS: Cesium.TextureWrap.CLAMP_TO_EDGE,
12900
12900
  wrapT: Cesium.TextureWrap.CLAMP_TO_EDGE
12901
12901
  })
12902
- }), this.textureReady = !0, Si("✅ 纹理加载完成 (URL):", this.imageUrl);
12902
+ }), this.textureReady = !0, Fi("✅ 纹理加载完成 (URL):", this.imageUrl);
12903
12903
  }).catch((t) => {
12904
12904
  console.error("❌ 纹理加载失败:", t), this.createDefaultTexture(A);
12905
12905
  });
@@ -12922,7 +12922,7 @@ class ff {
12922
12922
  arrayBufferView: t
12923
12923
  },
12924
12924
  pixelFormat: Cesium.PixelFormat.RGBA
12925
- }), this.textureReady = !0, Si("⚠️ 使用默认棋盘格纹理");
12925
+ }), this.textureReady = !0, Fi("⚠️ 使用默认棋盘格纹理");
12926
12926
  }
12927
12927
  /**
12928
12928
  * 创建 DrawCommand
@@ -38790,12 +38790,12 @@ function aDA() {
38790
38790
  }
38791
38791
  var oDA = aDA();
38792
38792
  const xm = /* @__PURE__ */ dC(oDA);
38793
- var ei = 1e-6, Fi = typeof Float32Array < "u" ? Float32Array : Array, zo = Math.random, qJ = "zyx";
38793
+ var ei = 1e-6, Si = typeof Float32Array < "u" ? Float32Array : Array, zo = Math.random, qJ = "zyx";
38794
38794
  function PD(n) {
38795
38795
  return n >= 0 ? Math.round(n) : n % 0.5 === 0 ? Math.floor(n) : Math.round(n);
38796
38796
  }
38797
38797
  function DDA(n) {
38798
- Fi = n;
38798
+ Si = n;
38799
38799
  }
38800
38800
  var PDA = Math.PI / 180, lDA = 180 / Math.PI;
38801
38801
  function cDA(n) {
@@ -38812,7 +38812,7 @@ const QDA = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
38812
38812
  __proto__: null,
38813
38813
  ANGLE_ORDER: qJ,
38814
38814
  get ARRAY_TYPE() {
38815
- return Fi;
38815
+ return Si;
38816
38816
  },
38817
38817
  EPSILON: ei,
38818
38818
  RANDOM: zo,
@@ -38823,11 +38823,11 @@ const QDA = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
38823
38823
  toRadian: cDA
38824
38824
  }, Symbol.toStringTag, { value: "Module" }));
38825
38825
  function wDA() {
38826
- var n = new Fi(4);
38827
- return Fi != Float32Array && (n[1] = 0, n[2] = 0), n[0] = 1, n[3] = 1, n;
38826
+ var n = new Si(4);
38827
+ return Si != Float32Array && (n[1] = 0, n[2] = 0), n[0] = 1, n[3] = 1, n;
38828
38828
  }
38829
38829
  function uDA(n) {
38830
- var A = new Fi(4);
38830
+ var A = new Si(4);
38831
38831
  return A[0] = n[0], A[1] = n[1], A[2] = n[2], A[3] = n[3], A;
38832
38832
  }
38833
38833
  function dDA(n, A) {
@@ -38837,7 +38837,7 @@ function fDA(n) {
38837
38837
  return n[0] = 1, n[1] = 0, n[2] = 0, n[3] = 1, n;
38838
38838
  }
38839
38839
  function CDA(n, A, e, t) {
38840
- var i = new Fi(4);
38840
+ var i = new Si(4);
38841
38841
  return i[0] = n, i[1] = A, i[2] = e, i[3] = t, i;
38842
38842
  }
38843
38843
  function WJ(n, A, e, t, i) {
@@ -38940,11 +38940,11 @@ const UDA = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
38940
38940
  transpose: vDA
38941
38941
  }, Symbol.toStringTag, { value: "Module" }));
38942
38942
  function SDA() {
38943
- var n = new Fi(6);
38944
- return Fi != Float32Array && (n[1] = 0, n[2] = 0, n[4] = 0, n[5] = 0), n[0] = 1, n[3] = 1, n;
38943
+ var n = new Si(6);
38944
+ return Si != Float32Array && (n[1] = 0, n[2] = 0, n[4] = 0, n[5] = 0), n[0] = 1, n[3] = 1, n;
38945
38945
  }
38946
38946
  function FDA(n) {
38947
- var A = new Fi(6);
38947
+ var A = new Si(6);
38948
38948
  return A[0] = n[0], A[1] = n[1], A[2] = n[2], A[3] = n[3], A[4] = n[4], A[5] = n[5], A;
38949
38949
  }
38950
38950
  function RDA(n, A) {
@@ -38954,7 +38954,7 @@ function YDA(n) {
38954
38954
  return n[0] = 1, n[1] = 0, n[2] = 0, n[3] = 1, n[4] = 0, n[5] = 0, n;
38955
38955
  }
38956
38956
  function JDA(n, A, e, t, i, r) {
38957
- var s = new Fi(6);
38957
+ var s = new Si(6);
38958
38958
  return s[0] = n, s[1] = A, s[2] = e, s[3] = t, s[4] = i, s[5] = r, s;
38959
38959
  }
38960
38960
  function HDA(n, A, e, t, i, r, s) {
@@ -39048,21 +39048,21 @@ const oPA = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
39048
39048
  translate: qDA
39049
39049
  }, Symbol.toStringTag, { value: "Module" }));
39050
39050
  function tH() {
39051
- var n = new Fi(9);
39052
- return Fi != Float32Array && (n[1] = 0, n[2] = 0, n[3] = 0, n[5] = 0, n[6] = 0, n[7] = 0), n[0] = 1, n[4] = 1, n[8] = 1, n;
39051
+ var n = new Si(9);
39052
+ return Si != Float32Array && (n[1] = 0, n[2] = 0, n[3] = 0, n[5] = 0, n[6] = 0, n[7] = 0), n[0] = 1, n[4] = 1, n[8] = 1, n;
39053
39053
  }
39054
39054
  function oo(n, A) {
39055
39055
  return n[0] = A[0], n[1] = A[1], n[2] = A[2], n[3] = A[4], n[4] = A[5], n[5] = A[6], n[6] = A[8], n[7] = A[9], n[8] = A[10], n;
39056
39056
  }
39057
39057
  function DPA(n) {
39058
- var A = new Fi(9);
39058
+ var A = new Si(9);
39059
39059
  return A[0] = n[0], A[1] = n[1], A[2] = n[2], A[3] = n[3], A[4] = n[4], A[5] = n[5], A[6] = n[6], A[7] = n[7], A[8] = n[8], A;
39060
39060
  }
39061
39061
  function PPA(n, A) {
39062
39062
  return n[0] = A[0], n[1] = A[1], n[2] = A[2], n[3] = A[3], n[4] = A[4], n[5] = A[5], n[6] = A[6], n[7] = A[7], n[8] = A[8], n;
39063
39063
  }
39064
39064
  function lPA(n, A, e, t, i, r, s, a, o) {
39065
- var D = new Fi(9);
39065
+ var D = new Si(9);
39066
39066
  return D[0] = n, D[1] = A, D[2] = e, D[3] = t, D[4] = i, D[5] = r, D[6] = s, D[7] = a, D[8] = o, D;
39067
39067
  }
39068
39068
  function a4(n, A, e, t, i, r, s, a, o, D) {
@@ -39193,18 +39193,18 @@ const bPA = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
39193
39193
  transpose: B1
39194
39194
  }, Symbol.toStringTag, { value: "Module" }));
39195
39195
  function rH() {
39196
- var n = new Fi(16);
39197
- return Fi != Float32Array && (n[1] = 0, n[2] = 0, n[3] = 0, n[4] = 0, n[6] = 0, n[7] = 0, n[8] = 0, n[9] = 0, n[11] = 0, n[12] = 0, n[13] = 0, n[14] = 0), n[0] = 1, n[5] = 1, n[10] = 1, n[15] = 1, n;
39196
+ var n = new Si(16);
39197
+ return Si != Float32Array && (n[1] = 0, n[2] = 0, n[3] = 0, n[4] = 0, n[6] = 0, n[7] = 0, n[8] = 0, n[9] = 0, n[11] = 0, n[12] = 0, n[13] = 0, n[14] = 0), n[0] = 1, n[5] = 1, n[10] = 1, n[15] = 1, n;
39198
39198
  }
39199
39199
  function zPA(n) {
39200
- var A = new Fi(16);
39200
+ var A = new Si(16);
39201
39201
  return A[0] = n[0], A[1] = n[1], A[2] = n[2], A[3] = n[3], A[4] = n[4], A[5] = n[5], A[6] = n[6], A[7] = n[7], A[8] = n[8], A[9] = n[9], A[10] = n[10], A[11] = n[11], A[12] = n[12], A[13] = n[13], A[14] = n[14], A[15] = n[15], A;
39202
39202
  }
39203
39203
  function cr(n, A) {
39204
39204
  return n[0] = A[0], n[1] = A[1], n[2] = A[2], n[3] = A[3], n[4] = A[4], n[5] = A[5], n[6] = A[6], n[7] = A[7], n[8] = A[8], n[9] = A[9], n[10] = A[10], n[11] = A[11], n[12] = A[12], n[13] = A[13], n[14] = A[14], n[15] = A[15], n;
39205
39205
  }
39206
39206
  function NPA(n, A, e, t, i, r, s, a, o, D, P, l, c, h, g, Q) {
39207
- var w = new Fi(16);
39207
+ var w = new Si(16);
39208
39208
  return w[0] = n, w[1] = A, w[2] = e, w[3] = t, w[4] = i, w[5] = r, w[6] = s, w[7] = a, w[8] = o, w[9] = D, w[10] = P, w[11] = l, w[12] = c, w[13] = h, w[14] = g, w[15] = Q, w;
39209
39209
  }
39210
39210
  function xPA(n, A, e, t, i, r, s, a, o, D, P, l, c, h, g, Q, w) {
@@ -39288,7 +39288,7 @@ function CC(n, A, e) {
39288
39288
  return n[0] = 1 - (h + Q), n[1] = l + C, n[2] = c - u, n[3] = 0, n[4] = l - C, n[5] = 1 - (P + Q), n[6] = g + w, n[7] = 0, n[8] = c + u, n[9] = g - w, n[10] = 1 - (P + h), n[11] = 0, n[12] = e[0], n[13] = e[1], n[14] = e[2], n[15] = 1, n;
39289
39289
  }
39290
39290
  function HPA(n, A) {
39291
- var e = new Fi(3), t = -A[0], i = -A[1], r = -A[2], s = A[3], a = A[4], o = A[5], D = A[6], P = A[7], l = t * t + i * i + r * r + s * s;
39291
+ var e = new Si(3), t = -A[0], i = -A[1], r = -A[2], s = A[3], a = A[4], o = A[5], D = A[6], P = A[7], l = t * t + i * i + r * r + s * s;
39292
39292
  return l > 0 ? (e[0] = (a * s + P * t + o * r - D * i) * 2 / l, e[1] = (o * s + P * i + D * t - a * r) * 2 / l, e[2] = (D * s + P * r + a * i - o * t) * 2 / l) : (e[0] = (a * s + P * t + o * r - D * i) * 2, e[1] = (o * s + P * i + D * t - a * r) * 2, e[2] = (D * s + P * r + a * i - o * t) * 2), CC(n, A, e), n;
39293
39293
  }
39294
39294
  function Sw(n, A) {
@@ -39299,7 +39299,7 @@ function ph(n, A) {
39299
39299
  return n[0] = Math.sqrt(e * e + t * t + i * i), n[1] = Math.sqrt(r * r + s * s + a * a), n[2] = Math.sqrt(o * o + D * D + P * P), n;
39300
39300
  }
39301
39301
  function vC(n, A) {
39302
- var e = new Fi(3);
39302
+ var e = new Si(3);
39303
39303
  ph(e, A);
39304
39304
  var t = 1 / e[0], i = 1 / e[1], r = 1 / e[2], s = A[0] * t, a = A[1] * i, o = A[2] * r, D = A[4] * t, P = A[5] * i, l = A[6] * r, c = A[8] * t, h = A[9] * i, g = A[10] * r, Q = s + P + g, w = 0;
39305
39305
  return Q > 0 ? (w = Math.sqrt(Q + 1) * 2, n[3] = 0.25 * w, n[0] = (l - h) / w, n[1] = (c - o) / w, n[2] = (a - D) / w) : s > P && s > g ? (w = Math.sqrt(1 + s - P - g) * 2, n[3] = (l - h) / w, n[0] = 0.25 * w, n[1] = (a + D) / w, n[2] = (c + o) / w) : P > g ? (w = Math.sqrt(1 + P - s - g) * 2, n[3] = (c - o) / w, n[0] = (a + D) / w, n[1] = 0.25 * w, n[2] = (l + h) / w) : (w = Math.sqrt(1 + g - s - P) * 2, n[3] = (a - D) / w, n[0] = (c + o) / w, n[1] = (l + h) / w, n[2] = 0.25 * w), n;
@@ -39451,11 +39451,11 @@ const nlA = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
39451
39451
  transpose: o4
39452
39452
  }, Symbol.toStringTag, { value: "Module" }));
39453
39453
  function P4() {
39454
- var n = new Fi(3);
39455
- return Fi != Float32Array && (n[0] = 0, n[1] = 0, n[2] = 0), n;
39454
+ var n = new Si(3);
39455
+ return Si != Float32Array && (n[0] = 0, n[1] = 0, n[2] = 0), n;
39456
39456
  }
39457
39457
  function rlA(n) {
39458
- var A = new Fi(3);
39458
+ var A = new Si(3);
39459
39459
  return A[0] = n[0], A[1] = n[1], A[2] = n[2], A;
39460
39460
  }
39461
39461
  function aP(n) {
@@ -39463,7 +39463,7 @@ function aP(n) {
39463
39463
  return Math.sqrt(A * A + e * e + t * t);
39464
39464
  }
39465
39465
  function m1(n, A, e) {
39466
- var t = new Fi(3);
39466
+ var t = new Si(3);
39467
39467
  return t[0] = n, t[1] = A, t[2] = e, t;
39468
39468
  }
39469
39469
  function Ri(n, A) {
@@ -39658,15 +39658,15 @@ const MlA = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
39658
39658
  zero: ElA
39659
39659
  }, Symbol.toStringTag, { value: "Module" }));
39660
39660
  function pH() {
39661
- var n = new Fi(4);
39662
- return Fi != Float32Array && (n[0] = 0, n[1] = 0, n[2] = 0, n[3] = 0), n;
39661
+ var n = new Si(4);
39662
+ return Si != Float32Array && (n[0] = 0, n[1] = 0, n[2] = 0, n[3] = 0), n;
39663
39663
  }
39664
39664
  function mH(n) {
39665
- var A = new Fi(4);
39665
+ var A = new Si(4);
39666
39666
  return A[0] = n[0], A[1] = n[1], A[2] = n[2], A[3] = n[3], A;
39667
39667
  }
39668
39668
  function IH(n, A, e, t) {
39669
- var i = new Fi(4);
39669
+ var i = new Si(4);
39670
39670
  return i[0] = n, i[1] = A, i[2] = e, i[3] = t, i;
39671
39671
  }
39672
39672
  function Nf(n, A) {
@@ -39827,8 +39827,8 @@ const WlA = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
39827
39827
  zero: SlA
39828
39828
  }, Symbol.toStringTag, { value: "Module" }));
39829
39829
  function ip() {
39830
- var n = new Fi(4);
39831
- return Fi != Float32Array && (n[0] = 0, n[1] = 0, n[2] = 0), n[3] = 1, n;
39830
+ var n = new Si(4);
39831
+ return Si != Float32Array && (n[0] = 0, n[1] = 0, n[2] = 0), n[3] = 1, n;
39832
39832
  }
39833
39833
  function Lm(n) {
39834
39834
  return n[0] = 0, n[1] = 0, n[2] = 0, n[3] = 1, n;
@@ -40002,19 +40002,19 @@ const ucA = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
40002
40002
  str: ncA
40003
40003
  }, Symbol.toStringTag, { value: "Module" }));
40004
40004
  function dcA() {
40005
- var n = new Fi(8);
40006
- return Fi != Float32Array && (n[0] = 0, n[1] = 0, n[2] = 0, n[4] = 0, n[5] = 0, n[6] = 0, n[7] = 0), n[3] = 1, n;
40005
+ var n = new Si(8);
40006
+ return Si != Float32Array && (n[0] = 0, n[1] = 0, n[2] = 0, n[4] = 0, n[5] = 0, n[6] = 0, n[7] = 0), n[3] = 1, n;
40007
40007
  }
40008
40008
  function fcA(n) {
40009
- var A = new Fi(8);
40009
+ var A = new Si(8);
40010
40010
  return A[0] = n[0], A[1] = n[1], A[2] = n[2], A[3] = n[3], A[4] = n[4], A[5] = n[5], A[6] = n[6], A[7] = n[7], A;
40011
40011
  }
40012
40012
  function CcA(n, A, e, t, i, r, s, a) {
40013
- var o = new Fi(8);
40013
+ var o = new Si(8);
40014
40014
  return o[0] = n, o[1] = A, o[2] = e, o[3] = t, o[4] = i, o[5] = r, o[6] = s, o[7] = a, o;
40015
40015
  }
40016
40016
  function vcA(n, A, e, t, i, r, s) {
40017
- var a = new Fi(8);
40017
+ var a = new Si(8);
40018
40018
  a[0] = n, a[1] = A, a[2] = e, a[3] = t;
40019
40019
  var o = i * 0.5, D = r * 0.5, P = s * 0.5;
40020
40020
  return a[4] = o * t + D * e - P * A, a[5] = D * t + P * n - o * e, a[6] = P * t + o * A - D * n, a[7] = -o * n - D * A - P * e, a;
@@ -40032,7 +40032,7 @@ function BcA(n, A) {
40032
40032
  function pcA(n, A) {
40033
40033
  var e = ip();
40034
40034
  vC(e, A);
40035
- var t = new Fi(3);
40035
+ var t = new Si(3);
40036
40036
  return Sw(t, A), FH(n, e, t), n;
40037
40037
  }
40038
40038
  function RH(n, A) {
@@ -40176,15 +40176,15 @@ const XcA = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
40176
40176
  translate: bcA
40177
40177
  }, Symbol.toStringTag, { value: "Module" }));
40178
40178
  function GH() {
40179
- var n = new Fi(2);
40180
- return Fi != Float32Array && (n[0] = 0, n[1] = 0), n;
40179
+ var n = new Si(2);
40180
+ return Si != Float32Array && (n[0] = 0, n[1] = 0), n;
40181
40181
  }
40182
40182
  function _cA(n) {
40183
- var A = new Fi(2);
40183
+ var A = new Si(2);
40184
40184
  return A[0] = n[0], A[1] = n[1], A;
40185
40185
  }
40186
40186
  function $cA(n, A) {
40187
- var e = new Fi(2);
40187
+ var e = new Si(2);
40188
40188
  return e[0] = n, e[1] = A, e;
40189
40189
  }
40190
40190
  function M1(n, A) {
@@ -102432,7 +102432,7 @@ class I {
102432
102432
  let o = A.containerID, D = this.getMapEngineID(o), P = this.getMapEngineInstance(D.cesiumID), l = this.getMapEngineInstance(D.maptalksID), c = this.getMapEngineInstance(D.openlayersID), h = this.verifyCoordinate(A?.center), g = h?.longitude ?? 117.21833231944812, Q = h?.latitude ?? 39.06565050593017, w, u;
102433
102433
  if (window.isInitLocation || (w = h?.altitude), P) {
102434
102434
  let v = P.scene.camera, B = P.clock, p = A?.camera?.heading ?? 0, m = A?.camera?.pitch ?? -89;
102435
- m === -90 && (m = -89), m === 90 && (m = 89), Si(p, m);
102435
+ m === -90 && (m = -89), m === 90 && (m = 89), Fi(p, m);
102436
102436
  const O = Cesium.Math.toRadians(p), T = Cesium.Math.toRadians(m);
102437
102437
  if (window.isInitLocation || !u) {
102438
102438
  u = this.getMapHeightByZoom(o, e, {
@@ -103881,7 +103881,7 @@ class I {
103881
103881
  };
103882
103882
  /*右键弹出删除复制按钮*/
103883
103883
  static getMenu = (A, e, t, i = !1, r, s = !1, a, o, D = !1, P, l = !1, c = !1, h) => {
103884
- if (Si("点击到了第", o, "个点"), this.removeMenu(A), !i && !s && !D)
103884
+ if (Fi("点击到了第", o, "个点"), this.removeMenu(A), !i && !s && !D)
103885
103885
  return;
103886
103886
  let g = e.x + 20, Q = e.y;
103887
103887
  const w = 196;
@@ -104436,7 +104436,7 @@ class I {
104436
104436
  let t = this.getWebGLInfo();
104437
104437
  if (t) {
104438
104438
  const h = t.getParameter(t.MAX_TEXTURE_SIZE), g = t.getParameter(t.MAX_VARYING_VECTORS);
104439
- if (Si("MAX_TEXTURE_SIZE:", h), Si("MAX_VARYING_VECTORS:", g), h < 4096)
104439
+ if (Fi("MAX_TEXTURE_SIZE:", h), Fi("MAX_VARYING_VECTORS:", g), h < 4096)
104440
104440
  return !1;
104441
104441
  }
104442
104442
  const i = t.getExtension("WEBGL_debug_renderer_info");
@@ -104445,7 +104445,7 @@ class I {
104445
104445
  const r = t.getParameter(i.UNMASKED_RENDERER_WEBGL), s = t.getParameter(i.UNMASKED_VENDOR_WEBGL);
104446
104446
  if (!r)
104447
104447
  return !1;
104448
- Si("当前渲染器型号>>>>>", r, s, e);
104448
+ Fi("当前渲染器型号>>>>>", r, s, e);
104449
104449
  function a(h) {
104450
104450
  return typeof h != "string" ? "" : h.replace(/\s+/g, " ").replace(/\u00A0/g, " ").trim().toLowerCase();
104451
104451
  }
@@ -104664,10 +104664,10 @@ class I {
104664
104664
  else if (A.includes("-maptalks"))
104665
104665
  t && (e ? e === "TakeOffCursor.png" ? (t.setCursor(
104666
104666
  `url(${Hn.getIconBase64(e)}) 16 21, auto`
104667
- ), Si(t)) : t.setCursor(e) : t.setCursor(""));
104667
+ ), Fi(t)) : t.setCursor(e) : t.setCursor(""));
104668
104668
  else {
104669
104669
  let i = this.getMapEngineID(A), r = this.getMapEngineInstance(i.cesiumID);
104670
- r && (e ? e === "TakeOffCursor.png" ? r.container.style.cursor = `url(${Hn.getIconBase64(e)}) 16 21, auto` : r.container.style.cursor = e : r.container.style.cursor = "", Si(r.container));
104670
+ r && (e ? e === "TakeOffCursor.png" ? r.container.style.cursor = `url(${Hn.getIconBase64(e)}) 16 21, auto` : r.container.style.cursor = e : r.container.style.cursor = "", Fi(r.container));
104671
104671
  let s = this.getMapEngineInstance(i.openlayersID);
104672
104672
  s && (e ? e === "TakeOffCursor.png" ? s.getTargetElement().style.cursor = `url(${Hn.getIconBase64(e)}) 16 21, auto` : s.getTargetElement().style.cursor = e : s.getTargetElement().style.cursor = "");
104673
104673
  let a = this.getMapEngineInstance(i.maptalksID);
@@ -104926,7 +104926,7 @@ class I {
104926
104926
  (le) => typeof requestAnimationFrame < "u" ? requestAnimationFrame(le) : setTimeout(le, 0)
104927
104927
  ), HA = (le) => this.transformCartographic(le);
104928
104928
  let JA = 0, qA = MA;
104929
- gA && eA.length > 1 && Number.isFinite(q) && q > 0 && (qA = q / Math.max(1, gA - 1)), (!Number.isFinite(qA) || qA <= 0) && (qA = MA), Si(gA, qA);
104929
+ gA && eA.length > 1 && Number.isFinite(q) && q > 0 && (qA = q / Math.max(1, gA - 1)), (!Number.isFinite(qA) || qA <= 0) && (qA = MA), Fi(gA, qA);
104930
104930
  for (let le = 0; le < eA.length - 1 && JA < fA; le++) {
104931
104931
  const H = eA[le], KA = eA[le + 1], lA = Cesium.Cartesian3.distance(H, KA), DA = Math.max(
104932
104932
  1,
@@ -104944,7 +104944,7 @@ class I {
104944
104944
  }
104945
104945
  JA < fA && (X.push(HA(KA)), JA++);
104946
104946
  }
104947
- i?.debug && Si("terrain sample points:", X.length), window.terrainMaximumLevel || (window.terrainMaximumLevel = 0);
104947
+ i?.debug && Fi("terrain sample points:", X.length), window.terrainMaximumLevel || (window.terrainMaximumLevel = 0);
104948
104948
  const Ae = new Array(X.length);
104949
104949
  for (let le = 0; le < X.length; le += dA) {
104950
104950
  const H = Math.min(
@@ -105110,7 +105110,7 @@ class I {
105110
105110
  };
105111
105111
  // 重置航线的起飞点
105112
105112
  static resetAirRouteTakeOffPoint = (A) => {
105113
- Si("resetAirRouteTakeOffPoint");
105113
+ Fi("resetAirRouteTakeOffPoint");
105114
105114
  let e = this.getMapEngineID(A), i = [...this.getAirRoutes().values()].find((r) => r.isEditable_ && r.isContainTakeOffBillboard_ && r.TakeOffBillboardCoordinate_);
105115
105115
  i && (window.TakeOffBillboardCoordinate_Temp = zA.cloneDeep(
105116
105116
  i.TakeOffBillboardCoordinate_
@@ -105118,7 +105118,7 @@ class I {
105118
105118
  };
105119
105119
  // 取消重置航线的起飞点(恢复之前的状态)
105120
105120
  static unResetAirRouteTakeOffPoint = (A) => {
105121
- if (Si("unResetAirRouteTakeOffPoint"), window.TakeOffBillboardCoordinate_Temp) {
105121
+ if (Fi("unResetAirRouteTakeOffPoint"), window.TakeOffBillboardCoordinate_Temp) {
105122
105122
  let e = this.getMapEngineID(A), i = [...this.getAirRoutes().values()].find((r) => r.isEditable_ && r.isContainTakeOffBillboard_);
105123
105123
  i && (this.getMapEngineInstance(e.cesiumID) ? (this.recoverCursor(e.cesiumID, "TakeOffCursor.png"), i.TakeOffBillboardCoordinate_ = window.TakeOffBillboardCoordinate_Temp) : this.getMapEngineInstance(
105124
105124
  e.maptalksID
@@ -109644,7 +109644,7 @@ class I {
109644
109644
  if (v.length === 0)
109645
109645
  return [Q];
109646
109646
  const B = a(v, g.epsilon);
109647
- return Si(
109647
+ return Fi(
109648
109648
  "结果>>>>>1111",
109649
109649
  A,
109650
109650
  B.map((p) => r(p, u))
@@ -132438,7 +132438,7 @@ function sxA(n) {
132438
132438
  values: e
132439
132439
  };
132440
132440
  }
132441
- const axA = "0.5.82", oxA = {
132441
+ const axA = "0.5.84", oxA = {
132442
132442
  version: axA
132443
132443
  };
132444
132444
  var aw = {
@@ -148064,7 +148064,7 @@ class FF extends ir {
148064
148064
  }) : s = new Cesium.PolylineGeometry({
148065
148065
  positions: e,
148066
148066
  width: i
148067
- }), Si(e), !this.displayGeometryInstance_)
148067
+ }), !this.displayGeometryInstance_)
148068
148068
  this.displayGeometryInstance_ = new Cesium.GeometryInstance({
148069
148069
  id: t,
148070
148070
  geometry: s,
@@ -148854,7 +148854,7 @@ class jxA extends ir {
148854
148854
  loadConcurrency: 12,
148855
148855
  instanceKey: r
148856
148856
  }), this.geometryInstance_.readyPromise.then(() => {
148857
- Si(
148857
+ Fi(
148858
148858
  "ModelInstanceCollectionCompat ready:",
148859
148859
  this.geometryInstance_.loadedCount
148860
148860
  );
@@ -150114,9 +150114,7 @@ class RxA extends ir {
150114
150114
  maximumScale: 30
150115
150115
  };
150116
150116
  t.hasOwnProperty("model") && (i = t.model);
150117
- let r = e[e.length - 1];
150118
- t.hasOwnProperty("customLabel") && (r.customLabel = t.customLabel), t.hasOwnProperty("customHTML") && (r.customHTML = t.customHTML);
150119
- let s = 1;
150117
+ let r = e[e.length - 1], s = 1;
150120
150118
  t.hasOwnProperty("scale") && (s = t.scale);
150121
150119
  let a = {
150122
150120
  heading: 0,
@@ -150147,8 +150145,8 @@ class RxA extends ir {
150147
150145
  model: i,
150148
150146
  camera: a,
150149
150147
  frustum: o,
150150
- customLabel: r?.customLabel,
150151
- customHTML: r?.customHTML,
150148
+ // customLabel: customLabel,
150149
+ // customHTML: customHTML,
150152
150150
  coordinates: [r]
150153
150151
  });
150154
150152
  else {
@@ -161403,187 +161401,119 @@ const IW = (n, A) => {
161403
161401
  MapLayers: {
161404
161402
  // 监听地图图层属性变化
161405
161403
  handler(n, A) {
161406
- this.refresh({
161407
- dataType: "MapLayers",
161408
- newValue: n,
161409
- oldValue: A
161410
- });
161404
+ this.refresh("MapLayers", n, A);
161411
161405
  },
161412
161406
  deep: !0
161413
161407
  },
161414
161408
  // 监听属性变化,触发对应的业务更新:Tilesets
161415
161409
  Tilesets: {
161416
161410
  handler(n, A) {
161417
- this.refresh({
161418
- dataType: "Tilesets",
161419
- newValue: n,
161420
- oldValue: A
161421
- });
161411
+ this.refresh("Tilesets", n, A);
161422
161412
  },
161423
161413
  deep: !0
161424
161414
  },
161425
161415
  // 监听属性变化,触发对应的业务更新:Models
161426
161416
  Models: {
161427
161417
  handler(n, A) {
161428
- this.refresh({
161429
- dataType: "Models",
161430
- newValue: n,
161431
- oldValue: A
161432
- });
161418
+ this.refresh("Models", n, A);
161433
161419
  },
161434
161420
  deep: !0
161435
161421
  },
161436
161422
  // 监听属性变化,触发对应的业务更新:PointCloudRecognitions
161437
161423
  PointCloudRecognitions: {
161438
161424
  handler(n, A) {
161439
- this.refresh({
161440
- dataType: "PointCloudRecognitions",
161441
- newValue: n,
161442
- oldValue: A
161443
- });
161425
+ this.refresh("PointCloudRecognitions", n, A);
161444
161426
  },
161445
161427
  deep: !0
161446
161428
  },
161447
161429
  // 监听属性变化,触发对应的业务更新:NoFlys
161448
161430
  NoFlys: {
161449
161431
  handler(n, A) {
161450
- this.refresh({
161451
- dataType: "NoFlys",
161452
- newValue: n,
161453
- oldValue: A
161454
- });
161432
+ this.refresh("NoFlys", n, A);
161455
161433
  },
161456
161434
  deep: !0
161457
161435
  },
161458
161436
  // 监听属性变化,触发对应的业务更新:Annotations
161459
161437
  Annotations: {
161460
161438
  handler(n, A) {
161461
- this.refresh({
161462
- dataType: "Annotations",
161463
- newValue: n,
161464
- oldValue: A
161465
- });
161439
+ this.refresh("Annotations", n, A);
161466
161440
  },
161467
161441
  deep: !0
161468
161442
  },
161469
161443
  // 监听属性变化,触发对应的业务更新:FlightPaths
161470
161444
  FlightPaths: {
161471
161445
  handler(n, A) {
161472
- this.refresh({
161473
- dataType: "FlightPaths",
161474
- newValue: n,
161475
- oldValue: A
161476
- });
161446
+ this.refresh("FlightPaths", n, A);
161477
161447
  },
161478
161448
  deep: !0
161479
161449
  },
161480
161450
  // 监听属性变化,触发对应的业务更新:PipeLines
161481
161451
  PipeLines: {
161482
161452
  handler(n, A) {
161483
- this.refresh({
161484
- dataType: "PipeLines",
161485
- newValue: n,
161486
- oldValue: A
161487
- });
161453
+ this.refresh("PipeLines", n, A);
161488
161454
  },
161489
161455
  deep: !0
161490
161456
  },
161491
161457
  // 监听属性变化,触发对应的业务更新:Orthophotes
161492
161458
  Orthophotes: {
161493
161459
  handler(n, A) {
161494
- this.refresh({
161495
- dataType: "Orthophotes",
161496
- newValue: n,
161497
- oldValue: A
161498
- });
161460
+ this.refresh("Orthophotes", n, A);
161499
161461
  },
161500
161462
  deep: !0
161501
161463
  },
161502
161464
  // 监听属性变化,触发对应的业务更新:AirRoutes
161503
161465
  AirRoutes: {
161504
161466
  handler(n, A) {
161505
- this.refresh({
161506
- dataType: "AirRoutes",
161507
- newValue: n,
161508
- oldValue: A
161509
- });
161467
+ this.refresh("AirRoutes", n, A);
161510
161468
  },
161511
161469
  deep: !0
161512
161470
  },
161513
161471
  // 监听属性变化,触发对应的业务更新:VideoProjections
161514
161472
  VideoProjections: {
161515
161473
  handler(n, A) {
161516
- this.refresh({
161517
- dataType: "VideoProjections",
161518
- newValue: n,
161519
- oldValue: A
161520
- });
161474
+ this.refresh("VideoProjections", n, A);
161521
161475
  },
161522
161476
  deep: !0
161523
161477
  },
161524
161478
  // 监听属性变化,触发对应的业务更新:HeatMaps
161525
161479
  HeatMaps: {
161526
161480
  handler(n, A) {
161527
- this.refresh({
161528
- dataType: "HeatMaps",
161529
- newValue: n,
161530
- oldValue: A
161531
- });
161481
+ this.refresh("HeatMaps", n, A);
161532
161482
  },
161533
161483
  deep: !0
161534
161484
  },
161535
161485
  // 监听属性变化,触发对应的业务更新:VectorDatas
161536
161486
  VectorDatas: {
161537
161487
  handler(n, A) {
161538
- this.refresh({
161539
- dataType: "VectorDatas",
161540
- newValue: n,
161541
- oldValue: A
161542
- });
161488
+ this.refresh("VectorDatas", n, A);
161543
161489
  },
161544
161490
  deep: !0
161545
161491
  },
161546
161492
  // 监听属性变化,触发对应的业务更新:S3Ms
161547
161493
  S3Ms: {
161548
161494
  handler(n, A) {
161549
- this.refresh({
161550
- dataType: "S3Ms",
161551
- newValue: n,
161552
- oldValue: A
161553
- });
161495
+ this.refresh("S3Ms", n, A);
161554
161496
  },
161555
161497
  deep: !0
161556
161498
  },
161557
161499
  // 监听属性变化,触发对应的业务更新:Radar
161558
161500
  Radar: {
161559
161501
  handler(n, A) {
161560
- this.refresh({
161561
- dataType: "Radar",
161562
- newValue: n,
161563
- oldValue: A
161564
- });
161502
+ this.refresh("Radar", n, A);
161565
161503
  },
161566
161504
  deep: !0
161567
161505
  },
161568
161506
  // 监听属性变化,触发对应的业务更新:CustomNoFlyZones
161569
161507
  CustomNoFlyZones: {
161570
161508
  handler(n, A) {
161571
- this.refresh({
161572
- dataType: "CustomNoFlyZones",
161573
- newValue: n,
161574
- oldValue: A
161575
- });
161509
+ this.refresh("CustomNoFlyZones", n, A);
161576
161510
  },
161577
161511
  deep: !0
161578
161512
  },
161579
161513
  // 监听属性变化,触发对应的业务更新:LargeScales
161580
161514
  LargeScales: {
161581
161515
  handler(n, A) {
161582
- this.refresh({
161583
- dataType: "LargeScales",
161584
- newValue: n,
161585
- oldValue: A
161586
- });
161516
+ this.refresh("LargeScales", n, A);
161587
161517
  },
161588
161518
  deep: !0
161589
161519
  }
@@ -161597,7 +161527,7 @@ const IW = (n, A) => {
161597
161527
  const n = window.activeContainerIDs.indexOf(this.containerID);
161598
161528
  n > -1 && window.activeContainerIDs.splice(n, 1);
161599
161529
  }
161600
- Si("需要刷新的地图视图》》》》》》》》》》", window.activeContainerIDs);
161530
+ Fi("需要刷新的地图视图》》》》》》》》》》", window.activeContainerIDs);
161601
161531
  },
161602
161532
  // Vue 生命周期:挂载开始之前
161603
161533
  beforeMount() {
@@ -161606,7 +161536,7 @@ const IW = (n, A) => {
161606
161536
  mounted() {
161607
161537
  window.GISDatas || (window.GISDatas = /* @__PURE__ */ new Map()), window.isSupportWebGL2 = I.isSupportWebGL2(), window.isStartMapModeChange = !0, this.isPointOfInterestOpen = !1, this.isBeginRangingTool = !1, this.isRangingToolDistance = !0, this.rangingToolType = 1, this.MapEngine_Temp = zA.cloneDeep(this.MapEngine), window.DefaultMapEngine = zA.cloneDeep(this.MapEngine), this.MapTerrain_Temp = this.MapTerrain, this.MapConfiguration_Temp = this.MapConfiguration, window.DefaultMapConfiguration = zA.cloneDeep(this.MapConfiguration), this.MapPlugins_Temp = this.MapPlugins, this.containerID = zA.cloneDeep(this.MapEngine_Temp.containerID), I.setContainerID(this.containerID);
161608
161538
  let n = I.getMapEngineID(this.containerID);
161609
- this.maptalksID = n.maptalksID, this.openlayersID = n.openlayersID, this.cesiumID = n.cesiumID, this.syncZoom(this.MapEngine_Temp?.zoom?.current ?? 15), this.ActiveContainerIDs?.length ? window.activeContainerIDs = this.ActiveContainerIDs : window.activeContainerIDs = [this.containerID], Si("需要刷新的地图视图》》》》》》》》》》", window.activeContainerIDs), window.defaultViewPosition || (window.defaultViewPosition = {
161539
+ this.maptalksID = n.maptalksID, this.openlayersID = n.openlayersID, this.cesiumID = n.cesiumID, this.syncZoom(this.MapEngine_Temp?.zoom?.current ?? 15), this.ActiveContainerIDs?.length ? window.activeContainerIDs = this.ActiveContainerIDs : window.activeContainerIDs = [this.containerID], Fi("需要刷新的地图视图》》》》》》》》》》", window.activeContainerIDs), window.defaultViewPosition || (window.defaultViewPosition = {
161610
161540
  containerID: this.MapEngine_Temp.containerID,
161611
161541
  force2D: this.MapEngine_Temp.force2D,
161612
161542
  center: this.MapEngine_Temp.center,
@@ -161615,12 +161545,32 @@ const IW = (n, A) => {
161615
161545
  }), I.addGraphClickHandlerHandler(this.GraphClickHandler), I.addGraphNodeClickHandlerHandler(this.GraphNodeClickHandler), I.addGraphChangingHandler(this.GraphChangingHandler), I.addGraphChangedHandler(this.GraphChangedHandler), I.addGraphRemovedHandler(this.GraphRemovedHandler), I.addGraphEditedHandler(this.GraphEditedHandler), I.addNoReturnNodeHandler(this.NoReturnNodeHandler);
161616
161546
  let A = this.MapEngine_Temp?.limitMemory ?? 1, e = this.MapEngine_Temp?.GPUWhiteLists ?? [];
161617
161547
  window.isGPUSupport = I.isGPUSupport(A, e), this.force2D = this.MapEngine_Temp?.force2D ?? !1, this.isCesium = this.MapEngine_Temp?.isCesium ?? !0, this.loadExternalResources(() => {
161618
- window.Cesium = Cesium, Si(
161548
+ window.Cesium = Cesium, Fi(
161619
161549
  `版本号>>>>>>>>>>${oxA.version};CESIUM版本号>>>>>>>>>>${Cesium.VERSION}`
161620
161550
  ), this.initializeMapEngine();
161621
161551
  });
161622
161552
  },
161623
161553
  methods: {
161554
+ // 方法:refresh - 负责具体的地图业务逻辑或事件处理
161555
+ refresh(n, A = [], e = []) {
161556
+ if (!window.activeContainerIDs || window.activeContainerIDs && !window.activeContainerIDs.length || window.activeContainerIDs && window.activeContainerIDs.length && window.activeContainerIDs.includes(this.containerID)) {
161557
+ if (n === "S3Ms" && !window.isSupportWebGL2)
161558
+ return;
161559
+ const t = I.deepCloneValue(e), i = I.deepCloneValue(A), { added: r, changed: s, removed: a } = this.getDifferences(
161560
+ n,
161561
+ t,
161562
+ i
161563
+ );
161564
+ this.strictUpdateScheduler({
161565
+ dataType: n,
161566
+ newValue: i,
161567
+ oldValue: t,
161568
+ added: r,
161569
+ changed: s,
161570
+ removed: a
161571
+ });
161572
+ }
161573
+ },
161624
161574
  // 状态同步:同步当前地图引擎的层级到组件内部状态
161625
161575
  syncZoom(n) {
161626
161576
  window.MapCurrentZooms || (window.MapCurrentZooms = /* @__PURE__ */ new Map()), n !== void 0 && (window.MapCurrentZooms.has(this.containerID) && window.MapCurrentZooms.delete(this.containerID), window.MapCurrentZooms.set(this.containerID, n));
@@ -161637,7 +161587,7 @@ const IW = (n, A) => {
161637
161587
  // },
161638
161588
  // 动态加载外部资源
161639
161589
  async loadExternalResources(n) {
161640
- Si("开始动态加载外部资源...");
161590
+ Fi("开始动态加载外部资源...");
161641
161591
  const A = [
161642
161592
  // CSS资源
161643
161593
  { type: "css", url: "/libs/Cesium/Widgets/widgets.css" },
@@ -161653,20 +161603,20 @@ const IW = (n, A) => {
161653
161603
  (r) => r.src.includes(i)
161654
161604
  ) : !1, t = (i) => new Promise((r, s) => {
161655
161605
  if (e(i.url)) {
161656
- Si(`资源已加载,跳过: ${i.url}`), r();
161606
+ Fi(`资源已加载,跳过: ${i.url}`), r();
161657
161607
  return;
161658
161608
  }
161659
161609
  if (i.type === "css") {
161660
161610
  const a = document.createElement("link");
161661
161611
  a.rel = "stylesheet", a.href = i.url, a.onload = () => {
161662
- Si(`CSS资源加载成功: ${i.url}`), r();
161612
+ Fi(`CSS资源加载成功: ${i.url}`), r();
161663
161613
  }, a.onerror = () => {
161664
161614
  console.error(`CSS资源加载失败: ${i.url}`), s(new Error(`Failed to load CSS: ${i.url}`));
161665
161615
  }, document.head.appendChild(a);
161666
161616
  } else if (i.type === "js") {
161667
161617
  const a = document.createElement("script");
161668
161618
  i.url.includes("Cesium.js") && (a.type = "text/javascript"), a.src = i.url, a.onload = () => {
161669
- Si(`JS资源加载成功: ${i.url}`), r();
161619
+ Fi(`JS资源加载成功: ${i.url}`), r();
161670
161620
  }, a.onerror = () => {
161671
161621
  console.error(`JS资源加载失败: ${i.url}`), s(new Error(`Failed to load JS: ${i.url}`));
161672
161622
  }, document.head.appendChild(a);
@@ -161675,11 +161625,60 @@ const IW = (n, A) => {
161675
161625
  try {
161676
161626
  for (const i of A)
161677
161627
  await t(i), await new Promise((r) => setTimeout(r, 0));
161678
- Si("所有外部资源加载完成"), n && n();
161628
+ Fi("所有外部资源加载完成"), n && n();
161679
161629
  } catch (i) {
161680
161630
  console.error("外部资源加载失败:", i), n && n();
161681
161631
  }
161682
161632
  },
161633
+ // 数据对比:比对新旧数据集,计算需要新增、更新或删除的差集
161634
+ getDifferences(n, A, e, t = "ID") {
161635
+ let i = [], r = [], s = [];
161636
+ if (!A?.length && !e?.length)
161637
+ return { added: i, changed: r, removed: s };
161638
+ let a = `${this.containerID}-&-${n}`;
161639
+ if (!window.GISDatas.has(a) || !window.GISDatas.get(a)?.length)
161640
+ return i = I.deepCloneValue(e), window.GISDatas.set(a, i), { added: i, changed: r, removed: s };
161641
+ if (A?.length && !e?.length) {
161642
+ for (let P = 0; P < A?.length; P++)
161643
+ s.push(A[P]);
161644
+ return window.GISDatas.set(a, []), { added: i, changed: r, removed: s };
161645
+ }
161646
+ const o = new Map(
161647
+ $D(A).map((P) => [$D(P)[t], $D(P)])
161648
+ ), D = new Map(
161649
+ $D(e).map((P) => [$D(P)[t], $D(P)])
161650
+ );
161651
+ for (const [P, l] of D)
161652
+ if (!o.has(P))
161653
+ i.push(l);
161654
+ else {
161655
+ const c = o.get(P);
161656
+ zA.isEqual(c, l) || r.push(l);
161657
+ }
161658
+ for (const [P, l] of o)
161659
+ D.has(P) || s.push(l);
161660
+ return window.GISDatas.has(a) && window.GISDatas.set(a, I.deepCloneValue(e)), { added: i, changed: r, removed: s };
161661
+ },
161662
+ // 数据同步:处理图层/业务数据的增删改查
161663
+ handleCRUDData(n) {
161664
+ const A = n.dataType;
161665
+ this[`${A}_IsUpdating`] = !0, this[`${A}_Timer`] = setTimeout(() => {
161666
+ this[`${A}_IsUpdating`] = !1, this[`${A}_Timer`] = void 0;
161667
+ }, this[`${A}_UpdateInterval`]), this[`${A}_Temp`] = I.deepCloneValue(n.newValue);
161668
+ },
161669
+ // 性能优化:防抖/节流控制数据更新频率
161670
+ strictUpdateScheduler(n) {
161671
+ if (!this.mapLoadingStatus)
161672
+ return;
161673
+ const A = n.dataType;
161674
+ if (A === "MapLayers" && (this[`${A}_Temp`] = n.newValue), this[`${A}_LastUpdateTimer`] && (clearTimeout(this[`${A}_LastUpdateTimer`]), this[`${A}_LastUpdateTimer`] = void 0), this[`${A}_Timer`]) {
161675
+ this[`${A}_LastUpdateTimer`] = setTimeout(() => {
161676
+ this[`setZYWL${A}`](n), this[`${A}_LastUpdateTimer`] = void 0;
161677
+ }, this.UpdateInterval);
161678
+ return;
161679
+ }
161680
+ this[`${A}_IsUpdating`] || this[`setZYWL${A}`](n);
161681
+ },
161683
161682
  // 生命周期清理:销毁组件内的所有定时器,防止内存泄漏
161684
161683
  clearAllTimer() {
161685
161684
  const n = [
@@ -161770,7 +161769,7 @@ const IW = (n, A) => {
161770
161769
  this.panorama_ = this.MapConfiguration_Temp?.panorama, this.isAR = this.MapConfiguration_Temp?.isAR ?? !1;
161771
161770
  let n = document.getElementById(this.containerID);
161772
161771
  if (!window.isGPUSupport || this.force2D && !this.isCesium) {
161773
- this.is3D = !1, Si("当前加载引擎为maptalks");
161772
+ this.is3D = !1, Fi("当前加载引擎为maptalks");
161774
161773
  let A = this.createMaptalks(n);
161775
161774
  I.setMapEngineInstance(this.maptalksID, A), this.MapInitCompletedHandler({
161776
161775
  containerID: this.containerID
@@ -161784,7 +161783,7 @@ const IW = (n, A) => {
161784
161783
  }
161785
161784
  this.initializeData(), this.setMapEngineAction(), this.setMapEnginePlugins(), this.setMapEngineOperation(), this.isAR || this.setWindowKey();
161786
161785
  } else {
161787
- this.is3D = !0, Si("当前加载引擎为cesium", Cesium), this.panorama_ && this.panorama_?.isOpen || window.isGPUSupport && !this.force2D ? (window.CesiumSceneMode = Cesium.SceneMode.SCENE3D, window.isSupportJudgmentVisual = !0) : (window.isGPUSupport = !1, window.CesiumSceneMode = Cesium.SceneMode.COLUMBUS_VIEW, window.isSupportJudgmentVisual = !1, this.MapEngine_Temp.camera.pitch = -90);
161786
+ this.is3D = !0, Fi("当前加载引擎为cesium", Cesium), this.panorama_ && this.panorama_?.isOpen || window.isGPUSupport && !this.force2D ? (window.CesiumSceneMode = Cesium.SceneMode.SCENE3D, window.isSupportJudgmentVisual = !0) : (window.isGPUSupport = !1, window.CesiumSceneMode = Cesium.SceneMode.COLUMBUS_VIEW, window.isSupportJudgmentVisual = !1, this.MapEngine_Temp.camera.pitch = -90);
161788
161787
  let A = this.createOL(n);
161789
161788
  I.setMapEngineInstance(this.openlayersID, A), this.createCesium(n), (!this.isAR || this.panorama_ && !this.panorama_?.isOpen || !this.panorama_) && this.setWindowKey();
161790
161789
  }
@@ -162889,7 +162888,7 @@ const IW = (n, A) => {
162889
162888
  // Cesium 左键点击事件处理器
162890
162889
  async cesiumLeftClick(n) {
162891
162890
  let A = I.getMapEngineInstance(this.cesiumID), e = await A.scene.pickAsync(n.position);
162892
- if (Si(e), this.panorama_?.isOpen) {
162891
+ if (Fi(e), this.panorama_?.isOpen) {
162893
162892
  if (e?.id?.includes("CubeMapPanorama") || e?.id?.includes("EquirectangularPanorama")) {
162894
162893
  const t = I.transformCoordinate(
162895
162894
  e?.primitive?.position
@@ -163676,64 +163675,6 @@ const IW = (n, A) => {
163676
163675
  }
163677
163676
  }
163678
163677
  },
163679
- // 方法:refresh - 负责具体的地图业务逻辑或事件处理
163680
- refresh(n) {
163681
- const A = n.dataType, e = I.deepCloneValue(n.oldValue), t = I.deepCloneValue(n.newValue), { added: i, changed: r, removed: s } = this.getDifferences(
163682
- A,
163683
- e,
163684
- t
163685
- );
163686
- (!window.activeContainerIDs || window.activeContainerIDs && !window.activeContainerIDs.length || window.activeContainerIDs && window.activeContainerIDs.length && window.activeContainerIDs.includes(this.containerID)) && this.strictUpdateScheduler({
163687
- dataType: A,
163688
- oldValue: e,
163689
- newValue: t,
163690
- added: i,
163691
- changed: r,
163692
- removed: s
163693
- });
163694
- },
163695
- // 数据对比:比对新旧数据集,计算需要新增、更新或删除的差集
163696
- getDifferences(n, A, e, t = "ID") {
163697
- let i = [], r = [], s = [];
163698
- if (!A?.length && !e?.length)
163699
- return { added: i, changed: r, removed: s };
163700
- let a = `${this.containerID}-&-${n}`;
163701
- if (!window.GISDatas.has(a) || !window.GISDatas.get(a)?.length)
163702
- return i = I.deepCloneValue(e), window.GISDatas.set(a, i), { added: i, changed: r, removed: s };
163703
- if (A?.length && !e?.length) {
163704
- for (let P = 0; P < A?.length; P++)
163705
- s.push(A[P]);
163706
- return window.GISDatas.set(a, []), { added: i, changed: r, removed: s };
163707
- }
163708
- const o = new Map(
163709
- $D(A).map((P) => [$D(P)[t], $D(P)])
163710
- ), D = new Map(
163711
- $D(e).map((P) => [$D(P)[t], $D(P)])
163712
- );
163713
- for (const [P, l] of D)
163714
- if (!o.has(P))
163715
- i.push(l);
163716
- else {
163717
- const c = o.get(P);
163718
- zA.isEqual(c, l) || r.push(l);
163719
- }
163720
- for (const [P, l] of o)
163721
- D.has(P) || s.push(l);
163722
- return window.GISDatas.has(a) && window.GISDatas.set(a, [...i, ...r]), { added: i, changed: r, removed: s };
163723
- },
163724
- // 性能优化:防抖/节流控制数据更新频率
163725
- strictUpdateScheduler(n) {
163726
- const A = n.dataType;
163727
- if (this.mapLoadingStatus) {
163728
- if (A === "MapLayers" && (this[`${A}_Temp`] = n.newValue), this[`${A}_LastUpdateTimer`] && (clearTimeout(this[`${A}_LastUpdateTimer`]), this[`${A}_LastUpdateTimer`] = void 0), this[`${A}_Timer`]) {
163729
- this[`${A}_LastUpdateTimer`] = setTimeout(() => {
163730
- this[`setZYWL${A}`](n), this[`${A}_LastUpdateTimer`] = void 0;
163731
- }, this.UpdateInterval);
163732
- return;
163733
- }
163734
- this[`${A}_IsUpdating`] || this[`setZYWL${A}`](n);
163735
- }
163736
- },
163737
163678
  // 地图图层管理方法:动态更新地图图层配置(支持Cesium/Maptalks双引擎)
163738
163679
  setZYWLMapLayers() {
163739
163680
  this.MapLayers_IsUpdating = !0, this.MapLayers_Timer = setTimeout(() => {
@@ -164557,13 +164498,6 @@ const IW = (n, A) => {
164557
164498
  }
164558
164499
  );
164559
164500
  },
164560
- // 数据同步:处理图层/业务数据的增删改查
164561
- handleCRUDData(n) {
164562
- const A = n.dataType;
164563
- this[`${A}_IsUpdating`] = !0, this[`${A}_Timer`] = setTimeout(() => {
164564
- this[`${A}_IsUpdating`] = !1, this[`${A}_Timer`] = void 0;
164565
- }, this[`${A}_UpdateInterval`]), this[`${A}_Temp`] = I.deepCloneValue(n.newValue);
164566
- },
164567
164501
  // 方法:handleGISData - 负责具体的地图业务逻辑或事件处理
164568
164502
  handleGISData(n, A) {
164569
164503
  const e = n.dataType, t = n?.removed ?? [], i = n?.changed ?? [], r = n?.added ?? [], s = n?.batchSize ?? 100;
@@ -164574,21 +164508,21 @@ const IW = (n, A) => {
164574
164508
  A?.removeCallback && A?.removeCallback(o, a);
164575
164509
  },
164576
164510
  s
164577
- ), Si(`删除了${e}数据>>>>>>>>>>`, t)), Array.isArray(i) && i.length && (this.processArrayAsync(
164511
+ ), Fi(`删除了${e}数据>>>>>>>>>>`, t)), Array.isArray(i) && i.length && (this.processArrayAsync(
164578
164512
  i,
164579
164513
  (a) => {
164580
164514
  const o = a.ID.toString();
164581
164515
  A?.changeCallback && A?.changeCallback(o, a);
164582
164516
  },
164583
164517
  s
164584
- ), Si(`更新了${e}数据>>>>>>>>>>`, i)), Array.isArray(r) && r.length && (this.processArrayAsync(
164518
+ ), Fi(`更新了${e}数据>>>>>>>>>>`, i)), Array.isArray(r) && r.length && (this.processArrayAsync(
164585
164519
  r,
164586
164520
  (a) => {
164587
164521
  const o = a.ID.toString(), D = a?.type ?? -1;
164588
164522
  A?.addCallback && A?.addCallback(o, a, D);
164589
164523
  },
164590
164524
  s
164591
- ), Si(`新增了${e}数据>>>>>>>>>>`, r));
164525
+ ), Fi(`新增了${e}数据>>>>>>>>>>`, r));
164592
164526
  },
164593
164527
  // 方法:MapClickHandler - 负责具体的地图业务逻辑或事件处理
164594
164528
  MapClickHandler(n) {
@@ -165402,7 +165336,7 @@ class Ea {
165402
165336
  }
165403
165337
  try {
165404
165338
  const D = o(A, e, t);
165405
- Si(`✅ 工业级路径长度: ${D.path.length} 节点`), Si(`✅ 工业级总距离: ${D.distance.toFixed(4)} 公里`), Si(`✅ 前向搜索步数: ${Math.floor(D.path.length / 2)}`), Si(`✅ 后向搜索步数: ${Math.floor(D.path.length / 2)}`), zM("🚗 工业级路网算法");
165339
+ Fi(`✅ 工业级路径长度: ${D.path.length} 节点`), Fi(`✅ 工业级总距离: ${D.distance.toFixed(4)} 公里`), Fi(`✅ 前向搜索步数: ${Math.floor(D.path.length / 2)}`), Fi(`✅ 后向搜索步数: ${Math.floor(D.path.length / 2)}`), zM("🚗 工业级路网算法");
165406
165340
  const P = [];
165407
165341
  P.push({
165408
165342
  longitude: Number(e[0]),
@@ -165554,7 +165488,7 @@ class Ea {
165554
165488
  }
165555
165489
  try {
165556
165490
  const D = o(A, e, t);
165557
- Si(`✅ 优化版路径长度: ${D.path.length} 节点`), Si(`✅ 优化版总距离: ${D.distance.toFixed(4)} 公里`), Si(`✅ 开放列表峰值大小: ${D.path.length * 2 || "N/A"}`), zM("🚗 优化版A*算法");
165491
+ Fi(`✅ 优化版路径长度: ${D.path.length} 节点`), Fi(`✅ 优化版总距离: ${D.distance.toFixed(4)} 公里`), Fi(`✅ 开放列表峰值大小: ${D.path.length * 2 || "N/A"}`), zM("🚗 优化版A*算法");
165558
165492
  const P = [];
165559
165493
  P.push({
165560
165494
  longitude: Number(e[0]),
@@ -165675,7 +165609,7 @@ class Ea {
165675
165609
  }
165676
165610
  try {
165677
165611
  const D = o(A, e, t);
165678
- Si(`✅ 路径长度: ${D.path.length} 节点`), Si(`✅ 总距离: ${D.distance.toFixed(4)} 公里`), zM("🚗 Dijkstra");
165612
+ Fi(`✅ 路径长度: ${D.path.length} 节点`), Fi(`✅ 总距离: ${D.distance.toFixed(4)} 公里`), zM("🚗 Dijkstra");
165679
165613
  const P = [];
165680
165614
  P.push({
165681
165615
  longitude: Number(e[0]),