earthsdk3-ue 3.6.0-beta.5 → 3.7.0-beta.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/earthsdk3-ue.iife.js +12 -12
- package/dist/earthsdk3-ue.js +73 -73
- package/dist/earthsdk3-ue.umd.cjs +3 -3
- package/package.json +2 -2
package/dist/earthsdk3-ue.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var Br = Object.defineProperty;
|
|
2
2
|
var _r = (d, e, t) => e in d ? Br(d, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : d[e] = t;
|
|
3
3
|
var g = (d, e, t) => _r(d, typeof e != "symbol" ? e + "" : e, t);
|
|
4
|
-
import { ESViewer as Ee, reactArrayWithUndefined as pr, ESSceneObject as I, ESJPickedResult as Ae, Destroyable as C, HasOwner as Mr, createGuid as M, Event as x, createAnimateFrame as
|
|
4
|
+
import { ESViewer as Ee, reactArrayWithUndefined as pr, ESSceneObject as I, ESJPickedResult as Ae, Destroyable as C, HasOwner as Mr, createGuid as M, Event as x, createAnimateFrame as ze, createInterval as Se, react as W, createNextAnimateFrameEvent as L, ViewerCustomInteraction as gr, ObjResettingWithEvent as P, createProcessingFromAsyncFunc as Te, sleep as $r, getGeoBoundingSphereFromPositions as Wr, extendClassProps as Ar, EngineObject as G, ES3DTileset as me, ESImageryLayer as U, reactJson as He, ESTerrainLayer as Ur, ESAlarm as br, ESApertureEffect as Nr, ESGeoPolygon as zr, ESAreaMeasurement as j, ESBlastParticleSystem as Hr, ESBoxClipping as Jr, ESCameraView as Gr, ESCameraVisibleRange as Kr, ESCar as Xr, ESClassification as ct, ESClippingPlane as Yr, ESDataMesh as z, ESDatasmithRuntimeModel as Zr, ESDirectionMeasurement as qr, ESDistanceMeasurement as Me, ESLocalPolygon as Qr, ESDynamicWater as Vr, ESEntityCluster as Or, ESExcavate as jr, ESFireParticleSystem as tn, ESForestTileset as b, ESGeoDiv as Ce, ESTextLabel as vr, bind as D, ESCustomDiv as Je, ESImageLabel as fr, track as F, PosFloatDiv as en, getDistancesFromPositions as rn, ESGeoJson as nn, ESGeoLineString as sn, ESGeoRectangle as on, ESGeoWater as an, rpToap as Fe, ESGltfModel as ln, ESHeightMeasurement as dn, ESHuman as cn, ESLevelRuntimeModel as un, ESLocalCircle as hn, ESLocalPolygonZ as pn, ESLocalRectangle as gn, ESLocalSkyBox as vn, ESLocationMeasurement as fn, ESPipeFence as wn, ESPipeline as yn, ESPipeserTileset as mn, ESPit as Cn, ESPoi2D as Fn, ESPoi3D as In, ESPoiTileset as En, ESPolygonFence as Sn, ESPolygonFlattenedPlane as Tn, ESPolygonWithHole as xn, ESRtsTileset as Rn, ESSeparateFoliage as Pn, addTreesCallFunc as Ln, removeAllTreesCallFunc as Dn, updateTreeParamsCallFunc as kn, cutDownTreesCallFunc as Bn, growthSimulationCallFunc as _n, ESSubmergingAnalysis as Mn, ESSunshineAnalysis as $n, ESSurfaceAreaMeasurement as Wn, ESUEWidget as An, ESUnrealActor as $e, ESVideoFusion as Un, ESViewShed as bn, ESVisibilityAnalysis as Nn, ESVolumeMeasurement as zn, ESWidget as Hn, ESHumanPoi as Jn, ESNavigator as tt, ESPath as Gn, ESViewerStatusBar as A, ESGaussianSplatting as Kn, ESRtsFeatureEditing as Xn, ESMsTileset as Yn, ESGeoExtrudedPolygon as ye, ESStaticMesh as Zn, ESSkylineAnalysis as qn } from "earthsdk3";
|
|
5
5
|
import { Logger as wr, Config as yr, TextParameters as Qn, Flags as at, NumericParameters as mr, PixelStreaming as Cr } from "@epicgames-ps/lib-pixelstreamingfrontend-ue5.2";
|
|
6
6
|
import Vn from "html2canvas";
|
|
7
7
|
var hr;
|
|
@@ -551,17 +551,17 @@ const we = async (d, e, t, i, r, n = "default") => {
|
|
|
551
551
|
f: "BindImageryByTag",
|
|
552
552
|
p: { ID: e, ActorTag: t, ComponentTag: i }
|
|
553
553
|
});
|
|
554
|
-
},
|
|
554
|
+
}, bs = async function(d, e, t) {
|
|
555
555
|
return await d.callUeFunc({
|
|
556
556
|
f: "UnBindImageryByTag",
|
|
557
557
|
p: { ActorTag: e, ComponentTag: t }
|
|
558
558
|
});
|
|
559
|
-
},
|
|
559
|
+
}, Ns = async function(d, e) {
|
|
560
560
|
return await d.callUeFunc({
|
|
561
561
|
f: "UnBindImageryById",
|
|
562
562
|
p: { ID: e }
|
|
563
563
|
});
|
|
564
|
-
},
|
|
564
|
+
}, zs = async function(d, e, t, i) {
|
|
565
565
|
return await d.callUeFunc({
|
|
566
566
|
f: "GetIdByComponentNameAndHitItem",
|
|
567
567
|
p: { id: e, ComponentName: t, HitItem: i }
|
|
@@ -1017,7 +1017,7 @@ class io extends Be {
|
|
|
1017
1017
|
} else u === "webRtcConnected" ? this.webRtcConnected = !0 : u === "videoinited" ? this.videoinited = !0 : u === "esmsgwsopen" && (this.esmsgwsopen = !0);
|
|
1018
1018
|
}));
|
|
1019
1019
|
{
|
|
1020
|
-
const u = this.dv(
|
|
1020
|
+
const u = this.dv(ze());
|
|
1021
1021
|
let c, v;
|
|
1022
1022
|
u.start(() => {
|
|
1023
1023
|
if (c !== t.offsetWidth || v !== t.offsetHeight) {
|
|
@@ -1421,7 +1421,7 @@ class co extends Be {
|
|
|
1421
1421
|
}
|
|
1422
1422
|
}));
|
|
1423
1423
|
{
|
|
1424
|
-
const l = this.dv(
|
|
1424
|
+
const l = this.dv(ze());
|
|
1425
1425
|
let u, c, v;
|
|
1426
1426
|
l.start(() => {
|
|
1427
1427
|
if (u !== t.offsetWidth || c !== t.offsetHeight || v !== s.resolutionScale) {
|
|
@@ -2386,21 +2386,21 @@ const K = class K extends Ee {
|
|
|
2386
2386
|
console.warn("UnBindImageryByTag: viewer is undefined");
|
|
2387
2387
|
return;
|
|
2388
2388
|
}
|
|
2389
|
-
return await
|
|
2389
|
+
return await bs(this.viewer, t, i);
|
|
2390
2390
|
}
|
|
2391
2391
|
async unBindImageryById(t) {
|
|
2392
2392
|
if (!this.viewer) {
|
|
2393
2393
|
console.warn("UnBindImageryById: viewer is undefined");
|
|
2394
2394
|
return;
|
|
2395
2395
|
}
|
|
2396
|
-
return await
|
|
2396
|
+
return await Ns(this.viewer, t);
|
|
2397
2397
|
}
|
|
2398
2398
|
async getIdByComponentNameAndHitItem(t, i, r) {
|
|
2399
2399
|
if (!this.viewer) {
|
|
2400
2400
|
console.warn("GetIdByComponentNameAndHitItem: viewer is undefined");
|
|
2401
2401
|
return;
|
|
2402
2402
|
}
|
|
2403
|
-
return await
|
|
2403
|
+
return await zs(this.viewer, t, i, r);
|
|
2404
2404
|
}
|
|
2405
2405
|
/**
|
|
2406
2406
|
* @returns Promise(高度)
|
|
@@ -2896,7 +2896,7 @@ g(B, "propValFuncs", {
|
|
|
2896
2896
|
materialParams: JSON.stringify(e.materialParams ?? {})
|
|
2897
2897
|
})
|
|
2898
2898
|
});
|
|
2899
|
-
class
|
|
2899
|
+
class N extends E {
|
|
2900
2900
|
constructor(e, t) {
|
|
2901
2901
|
super(e, t), t.viewer && this.d(t.widgetEvent.don((r) => {
|
|
2902
2902
|
if (r.objId !== e.id) return;
|
|
@@ -3480,7 +3480,7 @@ const pt = class pt extends E {
|
|
|
3480
3480
|
}
|
|
3481
3481
|
}
|
|
3482
3482
|
};
|
|
3483
|
-
g(pt, "type", pt.register("ESUeViewer",
|
|
3483
|
+
g(pt, "type", pt.register("ESUeViewer", br.type, pt));
|
|
3484
3484
|
let je = pt;
|
|
3485
3485
|
const gt = class gt extends E {
|
|
3486
3486
|
constructor(e, t) {
|
|
@@ -3490,7 +3490,7 @@ const gt = class gt extends E {
|
|
|
3490
3490
|
}
|
|
3491
3491
|
}
|
|
3492
3492
|
};
|
|
3493
|
-
g(gt, "type", gt.register("ESUeViewer",
|
|
3493
|
+
g(gt, "type", gt.register("ESUeViewer", Nr.type, gt));
|
|
3494
3494
|
let ti = gt;
|
|
3495
3495
|
const vt = class vt extends B {
|
|
3496
3496
|
constructor(e, t) {
|
|
@@ -3500,7 +3500,7 @@ const vt = class vt extends B {
|
|
|
3500
3500
|
}
|
|
3501
3501
|
}
|
|
3502
3502
|
};
|
|
3503
|
-
g(vt, "type", vt.register("ESUeViewer",
|
|
3503
|
+
g(vt, "type", vt.register("ESUeViewer", zr.type, vt));
|
|
3504
3504
|
let $ = vt;
|
|
3505
3505
|
const ft = class ft extends $ {
|
|
3506
3506
|
constructor(e, t) {
|
|
@@ -3668,24 +3668,24 @@ const It = class It extends E {
|
|
|
3668
3668
|
{
|
|
3669
3669
|
const o = () => {
|
|
3670
3670
|
if (typeof e.url == "string")
|
|
3671
|
-
r.value = I.context.getStrFromEnv(e.url ??
|
|
3671
|
+
r.value = I.context.getStrFromEnv(e.url ?? z.defaults.url);
|
|
3672
3672
|
else {
|
|
3673
3673
|
const h = e.url;
|
|
3674
|
-
h.url = I.context.getStrFromEnv(h.url ??
|
|
3674
|
+
h.url = I.context.getStrFromEnv(h.url ?? z.defaults.url), r.value = h;
|
|
3675
3675
|
}
|
|
3676
3676
|
};
|
|
3677
3677
|
o(), this.ad(e.urlChanged.don(o));
|
|
3678
3678
|
}
|
|
3679
3679
|
const n = () => {
|
|
3680
|
-
const o = e.colorStops ??
|
|
3680
|
+
const o = e.colorStops ?? z.defaults.colorStops;
|
|
3681
3681
|
i.callUeFunc({
|
|
3682
3682
|
f: "update",
|
|
3683
3683
|
p: {
|
|
3684
3684
|
id: e.id,
|
|
3685
|
-
url: r.value ??
|
|
3686
|
-
currentTime: e.currentTime ??
|
|
3687
|
-
minPropValue: e.minPropValue ??
|
|
3688
|
-
maxPropValue: e.maxPropValue ??
|
|
3685
|
+
url: r.value ?? z.defaults.url,
|
|
3686
|
+
currentTime: e.currentTime ?? z.defaults.currentTime,
|
|
3687
|
+
minPropValue: e.minPropValue ?? z.defaults.minPropValue,
|
|
3688
|
+
maxPropValue: e.maxPropValue ?? z.defaults.maxPropValue,
|
|
3689
3689
|
colorStops: JSON.stringify(o)
|
|
3690
3690
|
}
|
|
3691
3691
|
});
|
|
@@ -3699,7 +3699,7 @@ const It = class It extends E {
|
|
|
3699
3699
|
this.d(s.don(n)), this.d(e.createdEvent.don(n));
|
|
3700
3700
|
}
|
|
3701
3701
|
};
|
|
3702
|
-
g(It, "type", It.register("ESUeViewer",
|
|
3702
|
+
g(It, "type", It.register("ESUeViewer", z.type, It));
|
|
3703
3703
|
let di = It;
|
|
3704
3704
|
const Et = class Et extends E {
|
|
3705
3705
|
constructor(e, t) {
|
|
@@ -3760,8 +3760,8 @@ const xt = class xt extends Ke {
|
|
|
3760
3760
|
}
|
|
3761
3761
|
};
|
|
3762
3762
|
g(xt, "type", xt.register("ESUeViewer", Qr.type, xt));
|
|
3763
|
-
let
|
|
3764
|
-
const Rt = class Rt extends
|
|
3763
|
+
let be = xt;
|
|
3764
|
+
const Rt = class Rt extends be {
|
|
3765
3765
|
constructor(e, t) {
|
|
3766
3766
|
if (super(e, t), !t.viewer) {
|
|
3767
3767
|
console.warn("viewer is undefined!");
|
|
@@ -3838,14 +3838,14 @@ const Dt = class Dt extends k {
|
|
|
3838
3838
|
f: "update",
|
|
3839
3839
|
p: {
|
|
3840
3840
|
id: e.id,
|
|
3841
|
-
url: r.value ??
|
|
3842
|
-
treeTypes: e.treeTypes ??
|
|
3843
|
-
xiaoBanWidget: e.xiaoBanWidget ??
|
|
3844
|
-
youShiSZ: e.youShiSZ ??
|
|
3845
|
-
diLei: e.diLei ??
|
|
3846
|
-
senLinLB: e.senLinLB ??
|
|
3847
|
-
labelMaterial: e.labelMaterial ??
|
|
3848
|
-
heightOffset: e.heightOffset ??
|
|
3841
|
+
url: r.value ?? b.defaults.url,
|
|
3842
|
+
treeTypes: e.treeTypes ?? b.defaults.treeTypes,
|
|
3843
|
+
xiaoBanWidget: e.xiaoBanWidget ?? b.defaults.xiaoBanWidget,
|
|
3844
|
+
youShiSZ: e.youShiSZ ?? b.defaults.youShiSZ,
|
|
3845
|
+
diLei: e.diLei ?? b.defaults.diLei,
|
|
3846
|
+
senLinLB: e.senLinLB ?? b.defaults.senLinLB,
|
|
3847
|
+
labelMaterial: e.labelMaterial ?? b.defaults.labelMaterial,
|
|
3848
|
+
heightOffset: e.heightOffset ?? b.defaults.heightOffset
|
|
3849
3849
|
}
|
|
3850
3850
|
});
|
|
3851
3851
|
}, s = this.dv(L(
|
|
@@ -3861,7 +3861,7 @@ const Dt = class Dt extends k {
|
|
|
3861
3861
|
this.d(s.don(n)), this.d(e.createdEvent.don(n));
|
|
3862
3862
|
}
|
|
3863
3863
|
};
|
|
3864
|
-
g(Dt, "type", Dt.register("ESUeViewer",
|
|
3864
|
+
g(Dt, "type", Dt.register("ESUeViewer", b.type, Dt));
|
|
3865
3865
|
let wi = Dt;
|
|
3866
3866
|
const kt = class kt extends G {
|
|
3867
3867
|
constructor(e, t) {
|
|
@@ -3904,7 +3904,7 @@ class Fo extends C {
|
|
|
3904
3904
|
const s = this._screenPosition, o = this.disposeVar(new Je());
|
|
3905
3905
|
o.parentID = t.id, i.add(o), this.dispose(() => i.delete(o)), this.dispose(D([o, "allowPicking"], [t, "allowPicking"]));
|
|
3906
3906
|
{
|
|
3907
|
-
const h = this.disposeVar(
|
|
3907
|
+
const h = this.disposeVar(ze()), a = () => {
|
|
3908
3908
|
t.show ? h.restart(void 0, async () => {
|
|
3909
3909
|
if (!t.position) return;
|
|
3910
3910
|
const f = await i.lonLatAltToScreenPosition(t.position);
|
|
@@ -4155,7 +4155,7 @@ const Bt = class Bt extends B {
|
|
|
4155
4155
|
}
|
|
4156
4156
|
};
|
|
4157
4157
|
g(Bt, "type", Bt.register("ESUeViewer", sn.type, Bt));
|
|
4158
|
-
let
|
|
4158
|
+
let Ne = Bt;
|
|
4159
4159
|
const _t = class _t extends B {
|
|
4160
4160
|
constructor(e, t) {
|
|
4161
4161
|
if (super(e, t), !t.viewer) {
|
|
@@ -4255,7 +4255,7 @@ const Wt = class Wt extends E {
|
|
|
4255
4255
|
};
|
|
4256
4256
|
g(Wt, "type", Wt.register("ESUeViewer", cn.type, Wt));
|
|
4257
4257
|
let Si = Wt;
|
|
4258
|
-
const q = class q extends
|
|
4258
|
+
const q = class q extends N {
|
|
4259
4259
|
constructor(e, t) {
|
|
4260
4260
|
if (super(e, t), !t.viewer) {
|
|
4261
4261
|
console.warn("viewer is undefined!");
|
|
@@ -4265,10 +4265,10 @@ const q = class q extends z {
|
|
|
4265
4265
|
}
|
|
4266
4266
|
};
|
|
4267
4267
|
g(q, "type", q.register("ESUeViewer", fr.type, q)), g(q, "forceUeUpdateProps", [
|
|
4268
|
-
...
|
|
4268
|
+
...N.forceUeUpdateProps,
|
|
4269
4269
|
"url"
|
|
4270
4270
|
]), g(q, "propValFuncs", {
|
|
4271
|
-
...
|
|
4271
|
+
...N.propValFuncs,
|
|
4272
4272
|
url: (e) => typeof e == "string" ? I.context.getStrFromEnv(Fe(e)) : (e.url = I.context.getStrFromEnv(Fe(e.url)), e)
|
|
4273
4273
|
});
|
|
4274
4274
|
let Ti = q;
|
|
@@ -4292,7 +4292,7 @@ const Ut = class Ut extends Ke {
|
|
|
4292
4292
|
};
|
|
4293
4293
|
g(Ut, "type", Ut.register("ESUeViewer", hn.type, Ut));
|
|
4294
4294
|
let Ri = Ut;
|
|
4295
|
-
const
|
|
4295
|
+
const bt = class bt extends k {
|
|
4296
4296
|
constructor(e, t) {
|
|
4297
4297
|
if (super(e, t), !t.viewer) {
|
|
4298
4298
|
console.warn("viewer is undefined!");
|
|
@@ -4300,9 +4300,9 @@ const Nt = class Nt extends k {
|
|
|
4300
4300
|
}
|
|
4301
4301
|
}
|
|
4302
4302
|
};
|
|
4303
|
-
g(
|
|
4304
|
-
let Pi =
|
|
4305
|
-
const
|
|
4303
|
+
g(bt, "type", bt.register("ESUeViewer", pn.type, bt));
|
|
4304
|
+
let Pi = bt;
|
|
4305
|
+
const Nt = class Nt extends Ke {
|
|
4306
4306
|
constructor(e, t) {
|
|
4307
4307
|
if (super(e, t), !t.viewer) {
|
|
4308
4308
|
console.warn("viewer is undefined!");
|
|
@@ -4310,9 +4310,9 @@ const zt = class zt extends Ke {
|
|
|
4310
4310
|
}
|
|
4311
4311
|
}
|
|
4312
4312
|
};
|
|
4313
|
-
g(
|
|
4314
|
-
let Li =
|
|
4315
|
-
const
|
|
4313
|
+
g(Nt, "type", Nt.register("ESUeViewer", gn.type, Nt));
|
|
4314
|
+
let Li = Nt;
|
|
4315
|
+
const zt = class zt extends E {
|
|
4316
4316
|
constructor(e, t) {
|
|
4317
4317
|
if (super(e, t), !t.viewer) {
|
|
4318
4318
|
console.warn("viewer is undefined!");
|
|
@@ -4320,8 +4320,8 @@ const bt = class bt extends E {
|
|
|
4320
4320
|
}
|
|
4321
4321
|
}
|
|
4322
4322
|
};
|
|
4323
|
-
g(
|
|
4324
|
-
let Di =
|
|
4323
|
+
g(zt, "type", zt.register("ESUeViewer", vn.type, zt));
|
|
4324
|
+
let Di = zt;
|
|
4325
4325
|
const Ht = class Ht extends E {
|
|
4326
4326
|
constructor(e, t) {
|
|
4327
4327
|
if (super(e, t), !t.viewer) {
|
|
@@ -4342,7 +4342,7 @@ const Jt = class Jt extends B {
|
|
|
4342
4342
|
};
|
|
4343
4343
|
g(Jt, "type", Jt.register("ESUeViewer", wn.type, Jt));
|
|
4344
4344
|
let Bi = Jt;
|
|
4345
|
-
const Gt = class Gt extends
|
|
4345
|
+
const Gt = class Gt extends Ne {
|
|
4346
4346
|
constructor(e, t) {
|
|
4347
4347
|
if (super(e, t), !t.viewer) {
|
|
4348
4348
|
console.warn("viewer is undefined!");
|
|
@@ -4387,7 +4387,7 @@ const Xt = class Xt extends $ {
|
|
|
4387
4387
|
};
|
|
4388
4388
|
g(Xt, "type", Xt.register("ESUeViewer", Cn.type, Xt));
|
|
4389
4389
|
let $i = Xt;
|
|
4390
|
-
const Yt = class Yt extends
|
|
4390
|
+
const Yt = class Yt extends N {
|
|
4391
4391
|
constructor(e, t) {
|
|
4392
4392
|
super(e, t);
|
|
4393
4393
|
const i = t.viewer;
|
|
@@ -4445,7 +4445,7 @@ const qt = class qt extends B {
|
|
|
4445
4445
|
}
|
|
4446
4446
|
};
|
|
4447
4447
|
g(qt, "type", qt.register("ESUeViewer", Sn.type, qt));
|
|
4448
|
-
let
|
|
4448
|
+
let bi = qt;
|
|
4449
4449
|
const nt = class nt extends $ {
|
|
4450
4450
|
constructor(e, t) {
|
|
4451
4451
|
if (super(e, t), !t.viewer) {
|
|
@@ -4463,7 +4463,7 @@ g(nt, "propValFuncs", {
|
|
|
4463
4463
|
return t ? (t.components.main ?? t).id : e;
|
|
4464
4464
|
}
|
|
4465
4465
|
});
|
|
4466
|
-
let
|
|
4466
|
+
let Ni = nt;
|
|
4467
4467
|
const Qt = class Qt extends $ {
|
|
4468
4468
|
constructor(e, t) {
|
|
4469
4469
|
if (super(e, t), !t.viewer) {
|
|
@@ -4473,7 +4473,7 @@ const Qt = class Qt extends $ {
|
|
|
4473
4473
|
}
|
|
4474
4474
|
};
|
|
4475
4475
|
g(Qt, "type", Qt.register("ESUeViewer", xn.type, Qt));
|
|
4476
|
-
let
|
|
4476
|
+
let zi = Qt;
|
|
4477
4477
|
const Vt = class Vt extends lt {
|
|
4478
4478
|
constructor(e, t) {
|
|
4479
4479
|
if (super(e, t), !t.viewer) {
|
|
@@ -4633,7 +4633,7 @@ const ee = class ee extends $ {
|
|
|
4633
4633
|
};
|
|
4634
4634
|
g(ee, "type", ee.register("ESUeViewer", Wn.type, ee));
|
|
4635
4635
|
let Xi = ee;
|
|
4636
|
-
const ie = class ie extends
|
|
4636
|
+
const ie = class ie extends N {
|
|
4637
4637
|
constructor(e, t) {
|
|
4638
4638
|
if (super(e, t), !t.viewer) {
|
|
4639
4639
|
console.warn("viewer is undefined!");
|
|
@@ -4643,7 +4643,7 @@ const ie = class ie extends z {
|
|
|
4643
4643
|
};
|
|
4644
4644
|
g(ie, "type", ie.register("ESUeViewer", vr.type, ie));
|
|
4645
4645
|
let Yi = ie;
|
|
4646
|
-
const st = class st extends
|
|
4646
|
+
const st = class st extends N {
|
|
4647
4647
|
constructor(e, t) {
|
|
4648
4648
|
super(e, t);
|
|
4649
4649
|
const i = t.viewer;
|
|
@@ -4658,7 +4658,7 @@ const st = class st extends z {
|
|
|
4658
4658
|
}
|
|
4659
4659
|
};
|
|
4660
4660
|
g(st, "type", st.register("ESUeViewer", An.type, st)), g(st, "propValFuncs", {
|
|
4661
|
-
...
|
|
4661
|
+
...N.propValFuncs,
|
|
4662
4662
|
info: (e) => JSON.stringify(e ?? {})
|
|
4663
4663
|
});
|
|
4664
4664
|
let Zi = st;
|
|
@@ -4881,7 +4881,7 @@ const se = class se extends E {
|
|
|
4881
4881
|
}
|
|
4882
4882
|
}
|
|
4883
4883
|
};
|
|
4884
|
-
g(se, "type", se.register("ESUeViewer",
|
|
4884
|
+
g(se, "type", se.register("ESUeViewer", bn.type, se));
|
|
4885
4885
|
let Oi = se;
|
|
4886
4886
|
const oe = class oe extends B {
|
|
4887
4887
|
constructor(e, t) {
|
|
@@ -4891,7 +4891,7 @@ const oe = class oe extends B {
|
|
|
4891
4891
|
}
|
|
4892
4892
|
}
|
|
4893
4893
|
};
|
|
4894
|
-
g(oe, "type", oe.register("ESUeViewer",
|
|
4894
|
+
g(oe, "type", oe.register("ESUeViewer", Nn.type, oe));
|
|
4895
4895
|
let ji = oe;
|
|
4896
4896
|
const ae = class ae extends $ {
|
|
4897
4897
|
constructor(e, t) {
|
|
@@ -4918,9 +4918,9 @@ const ae = class ae extends $ {
|
|
|
4918
4918
|
}));
|
|
4919
4919
|
}
|
|
4920
4920
|
};
|
|
4921
|
-
g(ae, "type", ae.register("ESUeViewer",
|
|
4921
|
+
g(ae, "type", ae.register("ESUeViewer", zn.type, ae));
|
|
4922
4922
|
let tr = ae;
|
|
4923
|
-
const ot = class ot extends
|
|
4923
|
+
const ot = class ot extends N {
|
|
4924
4924
|
constructor(e, t) {
|
|
4925
4925
|
if (super(e, t), !t.viewer) {
|
|
4926
4926
|
console.warn("viewer is undefined!");
|
|
@@ -4929,7 +4929,7 @@ const ot = class ot extends z {
|
|
|
4929
4929
|
}
|
|
4930
4930
|
};
|
|
4931
4931
|
g(ot, "type", ot.register("ESUeViewer", Hn.type, ot)), g(ot, "propValFuncs", {
|
|
4932
|
-
...
|
|
4932
|
+
...N.propValFuncs,
|
|
4933
4933
|
info: (e) => JSON.stringify(e ?? {})
|
|
4934
4934
|
});
|
|
4935
4935
|
let er = ot;
|
|
@@ -5273,7 +5273,7 @@ const fe = class fe extends B {
|
|
|
5273
5273
|
g(fe, "type", fe.register("ESUeViewer", qn.type, fe));
|
|
5274
5274
|
let ur = fe, We;
|
|
5275
5275
|
try {
|
|
5276
|
-
const d = "earthsdk3-ue", e = "3.
|
|
5276
|
+
const d = "earthsdk3-ue", e = "3.7.0-beta.1", t = "2025-11-26T06:11:25.000Z", i = "北京西部世界科技有限公司", r = "地球可视化实验室 (EarthSDK&CesiumLab) https://www.bjxbsj.cn", n = "43f5553b0ecd549789bca9baa5e642be2c59e0bc", o = ((Date.now() - 1764137485e3) / 36e5).toFixed(1), h = `%c🌏 ${d}%c ${e}.${n.slice(0, 8)}.${t} (距今${o}个小时)
|
|
5277
5277
|
%c${r ? r + `
|
|
5278
5278
|
` : ""}当前网站正在使用${d},此软件版权归${i}所有
|
|
5279
5279
|
`;
|
|
@@ -5287,7 +5287,7 @@ try {
|
|
|
5287
5287
|
},
|
|
5288
5288
|
// @ts-ignore
|
|
5289
5289
|
get gituri() {
|
|
5290
|
-
return GITURI_ && GITURI_.replace("${commitId}", "
|
|
5290
|
+
return GITURI_ && GITURI_.replace("${commitId}", "43f5553b0ecd549789bca9baa5e642be2c59e0bc");
|
|
5291
5291
|
},
|
|
5292
5292
|
// @ts-ignore
|
|
5293
5293
|
get info() {
|
|
@@ -5295,7 +5295,7 @@ try {
|
|
|
5295
5295
|
},
|
|
5296
5296
|
// @ts-ignore
|
|
5297
5297
|
get date() {
|
|
5298
|
-
return "2025-11-
|
|
5298
|
+
return "2025-11-26T06:11:25.000Z";
|
|
5299
5299
|
},
|
|
5300
5300
|
// @ts-ignore
|
|
5301
5301
|
get author() {
|
|
@@ -5303,7 +5303,7 @@ try {
|
|
|
5303
5303
|
},
|
|
5304
5304
|
// @ts-ignore
|
|
5305
5305
|
get version() {
|
|
5306
|
-
return "3.
|
|
5306
|
+
return "3.7.0-beta.1";
|
|
5307
5307
|
},
|
|
5308
5308
|
// @ts-ignore
|
|
5309
5309
|
get name() {
|
|
@@ -5311,7 +5311,7 @@ try {
|
|
|
5311
5311
|
},
|
|
5312
5312
|
// @ts-ignore
|
|
5313
5313
|
get commitId() {
|
|
5314
|
-
return "
|
|
5314
|
+
return "43f5553b0ecd549789bca9baa5e642be2c59e0bc";
|
|
5315
5315
|
},
|
|
5316
5316
|
print(a = !1) {
|
|
5317
5317
|
!a && globalThis._xe2_no_copy_print || console.info(
|
|
@@ -5374,7 +5374,7 @@ export {
|
|
|
5374
5374
|
yi as UeESGeoDiv,
|
|
5375
5375
|
dr as UeESGeoExtrudedPolygon,
|
|
5376
5376
|
mi as UeESGeoJson,
|
|
5377
|
-
|
|
5377
|
+
Ne as UeESGeoLineString,
|
|
5378
5378
|
$ as UeESGeoPolygon,
|
|
5379
5379
|
Ci as UeESGeoRectangle,
|
|
5380
5380
|
B as UeESGeoVector,
|
|
@@ -5385,10 +5385,10 @@ export {
|
|
|
5385
5385
|
ir as UeESHumanPoi,
|
|
5386
5386
|
Ti as UeESImageLabel,
|
|
5387
5387
|
Ve as UeESImageryLayer,
|
|
5388
|
-
|
|
5388
|
+
N as UeESLabel,
|
|
5389
5389
|
xi as UeESLevelRuntimeModel,
|
|
5390
5390
|
Ri as UeESLocalCircle,
|
|
5391
|
-
|
|
5391
|
+
be as UeESLocalPolygon,
|
|
5392
5392
|
Pi as UeESLocalPolygonZ,
|
|
5393
5393
|
Li as UeESLocalRectangle,
|
|
5394
5394
|
Di as UeESLocalSkyBox,
|
|
@@ -5406,9 +5406,9 @@ export {
|
|
|
5406
5406
|
Wi as UeESPoi2D,
|
|
5407
5407
|
Ai as UeESPoi3D,
|
|
5408
5408
|
Ui as UeESPoiTileset,
|
|
5409
|
-
|
|
5410
|
-
|
|
5411
|
-
|
|
5409
|
+
bi as UeESPolygonFence,
|
|
5410
|
+
Ni as UeESPolygonFlattenedPlane,
|
|
5411
|
+
zi as UeESPolygonWithHole,
|
|
5412
5412
|
ar as UeESRtsFeatureEditing,
|
|
5413
5413
|
Hi as UeESRtsTileset,
|
|
5414
5414
|
lt as UeESSceneObject,
|
|
@@ -5451,7 +5451,7 @@ export {
|
|
|
5451
5451
|
Ps as getGlobalPropertyCallFunc,
|
|
5452
5452
|
fs as getHeightByLonLatCallFunc,
|
|
5453
5453
|
ws as getHeightByLonLatsCallFunc,
|
|
5454
|
-
|
|
5454
|
+
zs as getIdByComponentNameAndHitItemCallFunc,
|
|
5455
5455
|
Cs as getLonLatAltToScreenPositionCallFunc,
|
|
5456
5456
|
Ls as getObjectByInfoCallFunc,
|
|
5457
5457
|
Xs as getStatusCallFunc,
|
|
@@ -5487,6 +5487,6 @@ export {
|
|
|
5487
5487
|
Ws as unBind3DTilesetByTagCallFunc,
|
|
5488
5488
|
Bs as unBindActorByIDCallFunc,
|
|
5489
5489
|
_s as unBindActorByTagCallFunc,
|
|
5490
|
-
|
|
5491
|
-
|
|
5490
|
+
Ns as unBindImageryByIdCallFunc,
|
|
5491
|
+
bs as unBindImageryByTagCallFunc
|
|
5492
5492
|
};
|