earthsdk3-cesium 3.5.0-beta.20 → 3.5.0-beta.22

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.
@@ -19261,10 +19261,10 @@ class hn extends L {
19261
19261
  if (!e.actived)
19262
19262
  return;
19263
19263
  const { viewer: _ } = e;
19264
- _ && _.camera.flyTo({
19265
- destination: this.rectangle && !Gw(this.rectangle) ? at(this.rectangle) : h.Camera.DEFAULT_VIEW_RECTANGLE,
19264
+ _ && (this.rectangle && !Gw(this.rectangle) ? _.camera.flyTo({
19265
+ destination: at(this.rectangle),
19266
19266
  duration: v
19267
- });
19267
+ }) : _.camera.flyHome(v));
19268
19268
  }));
19269
19269
  }
19270
19270
  get flyToEvent() {
@@ -29603,11 +29603,10 @@ const ul = class ul extends Xi {
29603
29603
  const { czmViewer: s, sceneObject: n } = this;
29604
29604
  if (!s.actived) return !1;
29605
29605
  const { viewer: r } = s;
29606
- return r ? (r.camera.flyTo({
29607
- destination: n.rectangle && !Gw(n.rectangle) ? at(n.rectangle) : h.Camera.DEFAULT_VIEW_RECTANGLE,
29606
+ return r ? (n.rectangle && !Gw(n.rectangle) ? r.camera.flyTo({
29607
+ destination: at(n.rectangle),
29608
29608
  duration: e
29609
- //单位是秒
29610
- }), !0) : !1;
29609
+ }) : r.camera.flyHome(e), !0) : !1;
29611
29610
  }
29612
29611
  flyIn(e, o) {
29613
29612
  const { sceneObject: s, czmViewer: n } = this;
@@ -33015,7 +33014,7 @@ class K2 extends L {
33015
33014
  const [p, f, g] = ui({ originPosition: d[0] }, d), v = this.setFaces(p);
33016
33015
  a.push(...v.flat());
33017
33016
  const _ = this.setTextureCoordinates(o, s);
33018
- l.push(..._.flat()), s.computeBoundingBox(), this.updateCustomPrimitive(n, f, a, c, l);
33017
+ l.push(..._.flat()), this.updateCustomPrimitive(n, f, a, c, l), s.computeBoundingBox();
33019
33018
  }
33020
33019
  // 中心点坐标分成四个点
33021
33020
  divideFourPoints(i, e) {
@@ -33287,7 +33286,7 @@ const Bl = class Bl extends Kt {
33287
33286
  {
33288
33287
  v_st = a_st;
33289
33288
  gl_Position = czm_modelViewProjection * vec4(position, 1.0);
33290
- }`, o.castShadows = !0, o.receiveShadows = !0, this.computeBoundingBox();
33289
+ }`, o.castShadows = !0, o.receiveShadows = !0;
33291
33290
  {
33292
33291
  const s = () => {
33293
33292
  o.show = e.show && e.filled;
@@ -49905,7 +49904,7 @@ let We = wt;
49905
49904
  ae(We.prototype, We.createDefaultProps);
49906
49905
  let rp;
49907
49906
  try {
49908
- const t = "earthsdk3-cesium", i = "3.5.0-beta.20", e = "2025-10-23T10:01:13.000Z", o = "北京西部世界科技有限公司", s = "地球可视化实验室 (EarthSDK&CesiumLab) https://www.bjxbsj.cn", n = "d1e7c72f07f84b9908276e9d5e2728f3852f06c6", a = ((Date.now() - 1761213673e3) / 36e5).toFixed(1), l = `%c🌏 ${t}%c ${i}.${n.slice(0, 8)}.${e} (距今${a}个小时)
49907
+ const t = "earthsdk3-cesium", i = "3.5.0-beta.22", e = "2025-10-29T07:51:42.000Z", o = "北京西部世界科技有限公司", s = "地球可视化实验室 (EarthSDK&CesiumLab) https://www.bjxbsj.cn", n = "5897fe5e814b73613d910e2f3ea44f872cdc61d4", a = ((Date.now() - 1761724302e3) / 36e5).toFixed(1), l = `%c🌏 ${t}%c ${i}.${n.slice(0, 8)}.${e} (距今${a}个小时)
49909
49908
  %c${s ? s + `
49910
49909
  ` : ""}当前网站正在使用${t},此软件版权归${o}所有
49911
49910
  `;
@@ -49919,7 +49918,7 @@ try {
49919
49918
  },
49920
49919
  // @ts-ignore
49921
49920
  get gituri() {
49922
- return GITURI_ && GITURI_.replace("${commitId}", "d1e7c72f07f84b9908276e9d5e2728f3852f06c6");
49921
+ return GITURI_ && GITURI_.replace("${commitId}", "5897fe5e814b73613d910e2f3ea44f872cdc61d4");
49923
49922
  },
49924
49923
  // @ts-ignore
49925
49924
  get info() {
@@ -49927,7 +49926,7 @@ try {
49927
49926
  },
49928
49927
  // @ts-ignore
49929
49928
  get date() {
49930
- return "2025-10-23T10:01:13.000Z";
49929
+ return "2025-10-29T07:51:42.000Z";
49931
49930
  },
49932
49931
  // @ts-ignore
49933
49932
  get author() {
@@ -49935,7 +49934,7 @@ try {
49935
49934
  },
49936
49935
  // @ts-ignore
49937
49936
  get version() {
49938
- return "3.5.0-beta.20";
49937
+ return "3.5.0-beta.22";
49939
49938
  },
49940
49939
  // @ts-ignore
49941
49940
  get name() {
@@ -49943,7 +49942,7 @@ try {
49943
49942
  },
49944
49943
  // @ts-ignore
49945
49944
  get commitId() {
49946
- return "d1e7c72f07f84b9908276e9d5e2728f3852f06c6";
49945
+ return "5897fe5e814b73613d910e2f3ea44f872cdc61d4";
49947
49946
  },
49948
49947
  print() {
49949
49948
  console.info(