earthsdk3 3.5.0-beta.11 → 3.5.0-beta.13
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.iife.js +16 -16
- package/dist/earthsdk3.js +277 -210
- package/dist/earthsdk3.umd.cjs +17 -17
- package/dist/types/ESJTypes/properties/ESJClassificationType.d.ts +12 -0
- package/dist/types/ESJTypes/properties/ESJClassificationType.d.ts.map +1 -0
- package/dist/types/ESJTypes/properties/ESJEditingMode.d.ts +2 -2
- package/dist/types/ESJTypes/properties/ESJEditingMode.d.ts.map +1 -1
- package/dist/types/ESJTypes/properties/index.d.ts +1 -0
- package/dist/types/ESJTypes/properties/index.d.ts.map +1 -1
- package/dist/types/ESObjectManager/SceneObjectEditingManager.d.ts.map +1 -1
- package/dist/types/ESObjects/base/ESGeoVector.d.ts.map +1 -1
- package/dist/types/ESObjects/base/ESObjectWithLocation.d.ts.map +1 -1
- package/dist/types/ESObjects/general/ESGeoJson/index.d.ts +3 -1
- package/dist/types/ESObjects/general/ESGeoJson/index.d.ts.map +1 -1
- package/dist/types/ESViewer/ESViewer.d.ts +199 -4
- package/dist/types/ESViewer/ESViewer.d.ts.map +1 -1
- package/package.json +2 -2
package/dist/earthsdk3.js
CHANGED
|
@@ -39,7 +39,7 @@ function ld(r) {
|
|
|
39
39
|
}
|
|
40
40
|
let Qa;
|
|
41
41
|
try {
|
|
42
|
-
const r = "earthsdk3", e = "3.5.0-beta.
|
|
42
|
+
const r = "earthsdk3", e = "3.5.0-beta.13", t = "2025-10-15T08:26:43.000Z", n = "北京西部世界科技有限公司", i = "地球可视化实验室 (EarthSDK&CesiumLab) https://www.bjxbsj.cn", s = "d85e1020200203ea0aca1c05ac3f93f1f4e4574e", a = ((Date.now() - 1760516803e3) / 36e5).toFixed(1), u = `%c🌏 ${r}%c ${e}.${s.slice(0, 8)}.${t} (距今${a}个小时)
|
|
43
43
|
%c${i ? i + `
|
|
44
44
|
` : ""}当前网站正在使用${r},此软件版权归${n}所有
|
|
45
45
|
`;
|
|
@@ -53,7 +53,7 @@ try {
|
|
|
53
53
|
},
|
|
54
54
|
// @ts-ignore
|
|
55
55
|
get gituri() {
|
|
56
|
-
return GITURI_ && GITURI_.replace("${commitId}", "
|
|
56
|
+
return GITURI_ && GITURI_.replace("${commitId}", "d85e1020200203ea0aca1c05ac3f93f1f4e4574e");
|
|
57
57
|
},
|
|
58
58
|
// @ts-ignore
|
|
59
59
|
get info() {
|
|
@@ -61,7 +61,7 @@ try {
|
|
|
61
61
|
},
|
|
62
62
|
// @ts-ignore
|
|
63
63
|
get date() {
|
|
64
|
-
return "2025-
|
|
64
|
+
return "2025-10-15T08:26:43.000Z";
|
|
65
65
|
},
|
|
66
66
|
// @ts-ignore
|
|
67
67
|
get author() {
|
|
@@ -69,7 +69,7 @@ try {
|
|
|
69
69
|
},
|
|
70
70
|
// @ts-ignore
|
|
71
71
|
get version() {
|
|
72
|
-
return "3.5.0-beta.
|
|
72
|
+
return "3.5.0-beta.13";
|
|
73
73
|
},
|
|
74
74
|
// @ts-ignore
|
|
75
75
|
get name() {
|
|
@@ -77,7 +77,7 @@ try {
|
|
|
77
77
|
},
|
|
78
78
|
// @ts-ignore
|
|
79
79
|
get commitId() {
|
|
80
|
-
return "
|
|
80
|
+
return "d85e1020200203ea0aca1c05ac3f93f1f4e4574e";
|
|
81
81
|
},
|
|
82
82
|
/**
|
|
83
83
|
* 打印版权信息到控制台
|
|
@@ -1843,11 +1843,11 @@ var Ss;
|
|
|
1843
1843
|
return P(B, U, _t, ht);
|
|
1844
1844
|
}
|
|
1845
1845
|
r.add = Ot;
|
|
1846
|
-
const
|
|
1847
|
-
function
|
|
1848
|
-
return P(B, U,
|
|
1846
|
+
const xt = (B, U) => B * U;
|
|
1847
|
+
function It(B, U, ht) {
|
|
1848
|
+
return P(B, U, xt, ht);
|
|
1849
1849
|
}
|
|
1850
|
-
r.multiply =
|
|
1850
|
+
r.multiply = It;
|
|
1851
1851
|
const Vt = (B, U) => B / U;
|
|
1852
1852
|
function ce(B, U, ht) {
|
|
1853
1853
|
return P(B, U, Vt, ht);
|
|
@@ -6866,7 +6866,7 @@ class kg extends oo {
|
|
|
6866
6866
|
return this._defaultValue instanceof Function ? this._defaultValue() : this._defaultValue;
|
|
6867
6867
|
}
|
|
6868
6868
|
}
|
|
6869
|
-
class
|
|
6869
|
+
class Tt extends kg {
|
|
6870
6870
|
constructor(e, t, n, i, s, o) {
|
|
6871
6871
|
const a = e instanceof en ? "未获取到属性名" : e[1].toString();
|
|
6872
6872
|
super(t ?? a, o ?? a, i ?? !1, s ?? !1, n), this._reactVar = e;
|
|
@@ -6875,142 +6875,142 @@ class Pt extends kg {
|
|
|
6875
6875
|
return this._reactVar;
|
|
6876
6876
|
}
|
|
6877
6877
|
}
|
|
6878
|
-
class X extends
|
|
6878
|
+
class X extends Tt {
|
|
6879
6879
|
get type() {
|
|
6880
6880
|
return "BooleanProperty";
|
|
6881
6881
|
}
|
|
6882
6882
|
}
|
|
6883
|
-
class mt extends
|
|
6883
|
+
class mt extends Tt {
|
|
6884
6884
|
get type() {
|
|
6885
6885
|
return "StringProperty";
|
|
6886
6886
|
}
|
|
6887
6887
|
}
|
|
6888
|
-
class M extends
|
|
6888
|
+
class M extends Tt {
|
|
6889
6889
|
get type() {
|
|
6890
6890
|
return "NumberProperty";
|
|
6891
6891
|
}
|
|
6892
6892
|
}
|
|
6893
|
-
class WS extends
|
|
6893
|
+
class WS extends Tt {
|
|
6894
6894
|
get type() {
|
|
6895
6895
|
return "MaximumScreenSpaceErrorProperty";
|
|
6896
6896
|
}
|
|
6897
6897
|
}
|
|
6898
|
-
class z_ extends
|
|
6898
|
+
class z_ extends Tt {
|
|
6899
6899
|
get type() {
|
|
6900
6900
|
return "StringsProperty";
|
|
6901
6901
|
}
|
|
6902
6902
|
}
|
|
6903
|
-
class HS extends
|
|
6903
|
+
class HS extends Tt {
|
|
6904
6904
|
get type() {
|
|
6905
6905
|
return "NumbersProperty";
|
|
6906
6906
|
}
|
|
6907
6907
|
}
|
|
6908
|
-
class XS extends
|
|
6908
|
+
class XS extends Tt {
|
|
6909
6909
|
get type() {
|
|
6910
6910
|
return "BooleansProperty";
|
|
6911
6911
|
}
|
|
6912
6912
|
}
|
|
6913
|
-
class YS extends
|
|
6913
|
+
class YS extends Tt {
|
|
6914
6914
|
get type() {
|
|
6915
6915
|
return "String2Property";
|
|
6916
6916
|
}
|
|
6917
6917
|
}
|
|
6918
|
-
class JS extends
|
|
6918
|
+
class JS extends Tt {
|
|
6919
6919
|
get type() {
|
|
6920
6920
|
return "String3Property";
|
|
6921
6921
|
}
|
|
6922
6922
|
}
|
|
6923
|
-
class ZS extends
|
|
6923
|
+
class ZS extends Tt {
|
|
6924
6924
|
get type() {
|
|
6925
6925
|
return "String4Property";
|
|
6926
6926
|
}
|
|
6927
6927
|
}
|
|
6928
|
-
class U_ extends
|
|
6928
|
+
class U_ extends Tt {
|
|
6929
6929
|
get type() {
|
|
6930
6930
|
return "String2sProperty";
|
|
6931
6931
|
}
|
|
6932
6932
|
}
|
|
6933
|
-
class KS extends
|
|
6933
|
+
class KS extends Tt {
|
|
6934
6934
|
get type() {
|
|
6935
6935
|
return "String3sProperty";
|
|
6936
6936
|
}
|
|
6937
6937
|
}
|
|
6938
|
-
class QS extends
|
|
6938
|
+
class QS extends Tt {
|
|
6939
6939
|
get type() {
|
|
6940
6940
|
return "String4sProperty";
|
|
6941
6941
|
}
|
|
6942
6942
|
}
|
|
6943
|
-
class ke extends
|
|
6943
|
+
class ke extends Tt {
|
|
6944
6944
|
get type() {
|
|
6945
6945
|
return "Number2Property";
|
|
6946
6946
|
}
|
|
6947
6947
|
}
|
|
6948
|
-
class In extends
|
|
6948
|
+
class In extends Tt {
|
|
6949
6949
|
get type() {
|
|
6950
6950
|
return "Number3Property";
|
|
6951
6951
|
}
|
|
6952
6952
|
}
|
|
6953
|
-
class yi extends
|
|
6953
|
+
class yi extends Tt {
|
|
6954
6954
|
get type() {
|
|
6955
6955
|
return "Number4Property";
|
|
6956
6956
|
}
|
|
6957
6957
|
}
|
|
6958
|
-
class $S extends
|
|
6958
|
+
class $S extends Tt {
|
|
6959
6959
|
get type() {
|
|
6960
6960
|
return "Number4WithUndefinedProperty";
|
|
6961
6961
|
}
|
|
6962
6962
|
}
|
|
6963
|
-
class G_ extends
|
|
6963
|
+
class G_ extends Tt {
|
|
6964
6964
|
get type() {
|
|
6965
6965
|
return "Number2sProperty";
|
|
6966
6966
|
}
|
|
6967
6967
|
}
|
|
6968
|
-
class Vg extends
|
|
6968
|
+
class Vg extends Tt {
|
|
6969
6969
|
get type() {
|
|
6970
6970
|
return "Number3sProperty";
|
|
6971
6971
|
}
|
|
6972
6972
|
}
|
|
6973
|
-
class tb extends
|
|
6973
|
+
class tb extends Tt {
|
|
6974
6974
|
get type() {
|
|
6975
6975
|
return "Number4sProperty";
|
|
6976
6976
|
}
|
|
6977
6977
|
}
|
|
6978
|
-
class eb extends
|
|
6978
|
+
class eb extends Tt {
|
|
6979
6979
|
get type() {
|
|
6980
6980
|
return "Boolean2Property";
|
|
6981
6981
|
}
|
|
6982
6982
|
}
|
|
6983
|
-
class nb extends
|
|
6983
|
+
class nb extends Tt {
|
|
6984
6984
|
get type() {
|
|
6985
6985
|
return "Boolean3Property";
|
|
6986
6986
|
}
|
|
6987
6987
|
}
|
|
6988
|
-
class rb extends
|
|
6988
|
+
class rb extends Tt {
|
|
6989
6989
|
get type() {
|
|
6990
6990
|
return "Boolean4Property";
|
|
6991
6991
|
}
|
|
6992
6992
|
}
|
|
6993
|
-
class ib extends
|
|
6993
|
+
class ib extends Tt {
|
|
6994
6994
|
get type() {
|
|
6995
6995
|
return "Boolean2sProperty";
|
|
6996
6996
|
}
|
|
6997
6997
|
}
|
|
6998
|
-
class sb extends
|
|
6998
|
+
class sb extends Tt {
|
|
6999
6999
|
get type() {
|
|
7000
7000
|
return "Boolean3sProperty";
|
|
7001
7001
|
}
|
|
7002
7002
|
}
|
|
7003
|
-
class ob extends
|
|
7003
|
+
class ob extends Tt {
|
|
7004
7004
|
get type() {
|
|
7005
7005
|
return "Boolean4sProperty";
|
|
7006
7006
|
}
|
|
7007
7007
|
}
|
|
7008
|
-
class ab extends
|
|
7008
|
+
class ab extends Tt {
|
|
7009
7009
|
get type() {
|
|
7010
7010
|
return "StringNumberProperty";
|
|
7011
7011
|
}
|
|
7012
7012
|
}
|
|
7013
|
-
class ub extends
|
|
7013
|
+
class ub extends Tt {
|
|
7014
7014
|
get type() {
|
|
7015
7015
|
return "StringNumbersProperty";
|
|
7016
7016
|
}
|
|
@@ -7030,7 +7030,7 @@ class cb extends M {
|
|
|
7030
7030
|
return "DashPatternProperty";
|
|
7031
7031
|
}
|
|
7032
7032
|
}
|
|
7033
|
-
class
|
|
7033
|
+
class bt extends Tt {
|
|
7034
7034
|
constructor(e, t, n, i, s, o, a) {
|
|
7035
7035
|
super(e, n, i, s, o, a), this._enums = t;
|
|
7036
7036
|
}
|
|
@@ -7041,7 +7041,7 @@ class It extends Pt {
|
|
|
7041
7041
|
return this._enums;
|
|
7042
7042
|
}
|
|
7043
7043
|
}
|
|
7044
|
-
class hb extends
|
|
7044
|
+
class hb extends Tt {
|
|
7045
7045
|
constructor(e, t, n, i, s, o, a) {
|
|
7046
7046
|
super(e, n, i, s, o, a), this._enums = t;
|
|
7047
7047
|
}
|
|
@@ -7052,7 +7052,7 @@ class hb extends Pt {
|
|
|
7052
7052
|
return this._enums;
|
|
7053
7053
|
}
|
|
7054
7054
|
}
|
|
7055
|
-
class ao extends
|
|
7055
|
+
class ao extends Tt {
|
|
7056
7056
|
constructor(e, t, n, i, s, o, a) {
|
|
7057
7057
|
super(e, t, n, s, o, a), this._sampleValue = i;
|
|
7058
7058
|
}
|
|
@@ -7063,7 +7063,7 @@ class ao extends Pt {
|
|
|
7063
7063
|
return "EvalStringProperty";
|
|
7064
7064
|
}
|
|
7065
7065
|
}
|
|
7066
|
-
class q_ extends
|
|
7066
|
+
class q_ extends Tt {
|
|
7067
7067
|
constructor(e, t, n, i, s) {
|
|
7068
7068
|
super(e, t, i, !1, !1, s), this._paramTypes = n;
|
|
7069
7069
|
}
|
|
@@ -7108,7 +7108,7 @@ class at extends oo {
|
|
|
7108
7108
|
return this._children;
|
|
7109
7109
|
}
|
|
7110
7110
|
}
|
|
7111
|
-
class nt extends
|
|
7111
|
+
class nt extends Tt {
|
|
7112
7112
|
constructor(e, t, n, i, s, o, a) {
|
|
7113
7113
|
super(e, t, n, s, o, a), this._sampleValue = i;
|
|
7114
7114
|
}
|
|
@@ -7119,7 +7119,7 @@ class nt extends Pt {
|
|
|
7119
7119
|
return "JsonProperty";
|
|
7120
7120
|
}
|
|
7121
7121
|
}
|
|
7122
|
-
class Bg extends
|
|
7122
|
+
class Bg extends Tt {
|
|
7123
7123
|
constructor(e, t, n, i, s, o, a) {
|
|
7124
7124
|
super(e, t, n, s, o, a), this._sampleValue = i;
|
|
7125
7125
|
}
|
|
@@ -7160,7 +7160,7 @@ class pb extends ke {
|
|
|
7160
7160
|
return "NumberRangeProperty";
|
|
7161
7161
|
}
|
|
7162
7162
|
}
|
|
7163
|
-
class tn extends
|
|
7163
|
+
class tn extends Tt {
|
|
7164
7164
|
constructor(e, t, n, i, s, o, a, u) {
|
|
7165
7165
|
super(e, i, s, o, a, u), this._step = t, this._minMax = n;
|
|
7166
7166
|
}
|
|
@@ -7220,12 +7220,12 @@ class yu extends In {
|
|
|
7220
7220
|
return "PositionProperty";
|
|
7221
7221
|
}
|
|
7222
7222
|
}
|
|
7223
|
-
class X_ extends
|
|
7223
|
+
class X_ extends Tt {
|
|
7224
7224
|
get type() {
|
|
7225
7225
|
return "PositionsProperty";
|
|
7226
7226
|
}
|
|
7227
7227
|
}
|
|
7228
|
-
class gb extends
|
|
7228
|
+
class gb extends Tt {
|
|
7229
7229
|
get type() {
|
|
7230
7230
|
return "PositionsSetPropety";
|
|
7231
7231
|
}
|
|
@@ -7263,12 +7263,12 @@ class Y_ extends oo {
|
|
|
7263
7263
|
return this._defaults;
|
|
7264
7264
|
}
|
|
7265
7265
|
}
|
|
7266
|
-
class J_ extends
|
|
7266
|
+
class J_ extends Tt {
|
|
7267
7267
|
get type() {
|
|
7268
7268
|
return "DatesProperty";
|
|
7269
7269
|
}
|
|
7270
7270
|
}
|
|
7271
|
-
class ma extends
|
|
7271
|
+
class ma extends Tt {
|
|
7272
7272
|
get type() {
|
|
7273
7273
|
return "DateProperty";
|
|
7274
7274
|
}
|
|
@@ -9182,20 +9182,20 @@ function Ty() {
|
|
|
9182
9182
|
if (y === 0 || w === 0 || y > 0 != w > 0) return S;
|
|
9183
9183
|
const x = Math.abs(y + w);
|
|
9184
9184
|
return Math.abs(S) >= a * x ? S : -function(P, O, I, N, R, A, Y) {
|
|
9185
|
-
let q, K, ut, dt, H, J, Z, _t, Ot,
|
|
9185
|
+
let q, K, ut, dt, H, J, Z, _t, Ot, xt, It, Vt, ce, Xt, on, an, B, U;
|
|
9186
9186
|
const ht = P - R, Ft = I - R, Kt = O - A, ve = N - A;
|
|
9187
|
-
H = (on = (_t = ht - (Z = (J = 134217729 * ht) - (J - ht))) * (
|
|
9187
|
+
H = (on = (_t = ht - (Z = (J = 134217729 * ht) - (J - ht))) * (xt = ve - (Ot = (J = 134217729 * ve) - (J - ve))) - ((Xt = ht * ve) - Z * Ot - _t * Ot - Z * xt)) - (It = on - (B = (_t = Kt - (Z = (J = 134217729 * Kt) - (J - Kt))) * (xt = Ft - (Ot = (J = 134217729 * Ft) - (J - Ft))) - ((an = Kt * Ft) - Z * Ot - _t * Ot - Z * xt))), c[0] = on - (It + H) + (H - B), H = (ce = Xt - ((Vt = Xt + It) - (H = Vt - Xt)) + (It - H)) - (It = ce - an), c[1] = ce - (It + H) + (H - an), H = (U = Vt + It) - Vt, c[2] = Vt - (U - H) + (It - H), c[3] = U;
|
|
9188
9188
|
let ss = function(fv, ad) {
|
|
9189
9189
|
let ud = ad[0];
|
|
9190
9190
|
for (let yc = 1; yc < fv; yc++) ud += ad[yc];
|
|
9191
9191
|
return ud;
|
|
9192
9192
|
}(4, c), Ka = u * Y;
|
|
9193
9193
|
if (ss >= Ka || -ss >= Ka || (q = P - (ht + (H = P - ht)) + (H - R), ut = I - (Ft + (H = I - Ft)) + (H - R), K = O - (Kt + (H = O - Kt)) + (H - A), dt = N - (ve + (H = N - ve)) + (H - A), q === 0 && K === 0 && ut === 0 && dt === 0) || (Ka = l * Y + i * Math.abs(ss), (ss += ht * dt + ve * q - (Kt * ut + Ft * K)) >= Ka || -ss >= Ka)) return ss;
|
|
9194
|
-
H = (on = (_t = q - (Z = (J = 134217729 * q) - (J - q))) * (
|
|
9194
|
+
H = (on = (_t = q - (Z = (J = 134217729 * q) - (J - q))) * (xt = ve - (Ot = (J = 134217729 * ve) - (J - ve))) - ((Xt = q * ve) - Z * Ot - _t * Ot - Z * xt)) - (It = on - (B = (_t = K - (Z = (J = 134217729 * K) - (J - K))) * (xt = Ft - (Ot = (J = 134217729 * Ft) - (J - Ft))) - ((an = K * Ft) - Z * Ot - _t * Ot - Z * xt))), m[0] = on - (It + H) + (H - B), H = (ce = Xt - ((Vt = Xt + It) - (H = Vt - Xt)) + (It - H)) - (It = ce - an), m[1] = ce - (It + H) + (H - an), H = (U = Vt + It) - Vt, m[2] = Vt - (U - H) + (It - H), m[3] = U;
|
|
9195
9195
|
const cv = s(4, c, 4, m, h);
|
|
9196
|
-
H = (on = (_t = ht - (Z = (J = 134217729 * ht) - (J - ht))) * (
|
|
9196
|
+
H = (on = (_t = ht - (Z = (J = 134217729 * ht) - (J - ht))) * (xt = dt - (Ot = (J = 134217729 * dt) - (J - dt))) - ((Xt = ht * dt) - Z * Ot - _t * Ot - Z * xt)) - (It = on - (B = (_t = Kt - (Z = (J = 134217729 * Kt) - (J - Kt))) * (xt = ut - (Ot = (J = 134217729 * ut) - (J - ut))) - ((an = Kt * ut) - Z * Ot - _t * Ot - Z * xt))), m[0] = on - (It + H) + (H - B), H = (ce = Xt - ((Vt = Xt + It) - (H = Vt - Xt)) + (It - H)) - (It = ce - an), m[1] = ce - (It + H) + (H - an), H = (U = Vt + It) - Vt, m[2] = Vt - (U - H) + (It - H), m[3] = U;
|
|
9197
9197
|
const hv = s(cv, h, 4, m, f);
|
|
9198
|
-
H = (on = (_t = q - (Z = (J = 134217729 * q) - (J - q))) * (
|
|
9198
|
+
H = (on = (_t = q - (Z = (J = 134217729 * q) - (J - q))) * (xt = dt - (Ot = (J = 134217729 * dt) - (J - dt))) - ((Xt = q * dt) - Z * Ot - _t * Ot - Z * xt)) - (It = on - (B = (_t = K - (Z = (J = 134217729 * K) - (J - K))) * (xt = ut - (Ot = (J = 134217729 * ut) - (J - ut))) - ((an = K * ut) - Z * Ot - _t * Ot - Z * xt))), m[0] = on - (It + H) + (H - B), H = (ce = Xt - ((Vt = Xt + It) - (H = Vt - Xt)) + (It - H)) - (It = ce - an), m[1] = ce - (It + H) + (H - an), H = (U = Vt + It) - Vt, m[2] = Vt - (U - H) + (It - H), m[3] = U;
|
|
9199
9199
|
const dv = s(hv, f, 4, m, p);
|
|
9200
9200
|
return p[dv - 1];
|
|
9201
9201
|
}(E, C, b, v, _, g, x);
|
|
@@ -9330,9 +9330,9 @@ function Ny() {
|
|
|
9330
9330
|
return P = g[0] - S, O = g[1] - x, P * P + O * O;
|
|
9331
9331
|
}
|
|
9332
9332
|
function b(g, y, w, S, x, P, O, I) {
|
|
9333
|
-
var N = w - g, R = S - y, A = O - x, Y = I - P, q = g - x, K = y - P, ut = N * N + R * R, dt = N * A + R * Y, H = A * A + Y * Y, J = N * q + R * K, Z = A * q + Y * K, _t = ut * H - dt * dt, Ot,
|
|
9334
|
-
_t === 0 ? (
|
|
9335
|
-
var on = (1 - Ot) * g + Ot * w, an = (1 - Ot) * y + Ot * S, B = (1 -
|
|
9333
|
+
var N = w - g, R = S - y, A = O - x, Y = I - P, q = g - x, K = y - P, ut = N * N + R * R, dt = N * A + R * Y, H = A * A + Y * Y, J = N * q + R * K, Z = A * q + Y * K, _t = ut * H - dt * dt, Ot, xt, It, Vt, ce = _t, Xt = _t;
|
|
9334
|
+
_t === 0 ? (xt = 0, ce = 1, Vt = Z, Xt = H) : (xt = dt * Z - H * J, Vt = ut * Z - dt * J, xt < 0 ? (xt = 0, Vt = Z, Xt = H) : xt > ce && (xt = ce, Vt = Z + dt, Xt = H)), Vt < 0 ? (Vt = 0, -J < 0 ? xt = 0 : -J > ut ? xt = ce : (xt = -J, ce = ut)) : Vt > Xt && (Vt = Xt, -J + dt < 0 ? xt = 0 : -J + dt > ut ? xt = ce : (xt = -J + dt, ce = ut)), Ot = xt === 0 ? 0 : xt / ce, It = Vt === 0 ? 0 : Vt / Xt;
|
|
9335
|
+
var on = (1 - Ot) * g + Ot * w, an = (1 - Ot) * y + Ot * S, B = (1 - It) * x + It * O, U = (1 - It) * P + It * I, ht = B - on, Ft = U - an;
|
|
9336
9336
|
return ht * ht + Ft * Ft;
|
|
9337
9337
|
}
|
|
9338
9338
|
function v(g, y) {
|
|
@@ -11530,7 +11530,7 @@ sm.DP_SAFE_EPSILON.get = function() {
|
|
|
11530
11530
|
return 1e-15;
|
|
11531
11531
|
};
|
|
11532
11532
|
Object.defineProperties($e, sm);
|
|
11533
|
-
var
|
|
11533
|
+
var Pt = function() {
|
|
11534
11534
|
}, Xu = { X: { configurable: !0 }, Y: { configurable: !0 }, Z: { configurable: !0 }, M: { configurable: !0 } };
|
|
11535
11535
|
Xu.X.get = function() {
|
|
11536
11536
|
return 0;
|
|
@@ -11544,37 +11544,37 @@ Xu.Z.get = function() {
|
|
|
11544
11544
|
Xu.M.get = function() {
|
|
11545
11545
|
return 3;
|
|
11546
11546
|
};
|
|
11547
|
-
|
|
11547
|
+
Pt.prototype.setOrdinate = function(e, t, n) {
|
|
11548
11548
|
};
|
|
11549
|
-
|
|
11549
|
+
Pt.prototype.size = function() {
|
|
11550
11550
|
};
|
|
11551
|
-
|
|
11551
|
+
Pt.prototype.getOrdinate = function(e, t) {
|
|
11552
11552
|
};
|
|
11553
|
-
|
|
11553
|
+
Pt.prototype.getCoordinate = function() {
|
|
11554
11554
|
};
|
|
11555
|
-
|
|
11555
|
+
Pt.prototype.getCoordinateCopy = function(e) {
|
|
11556
11556
|
};
|
|
11557
|
-
|
|
11557
|
+
Pt.prototype.getDimension = function() {
|
|
11558
11558
|
};
|
|
11559
|
-
|
|
11559
|
+
Pt.prototype.getX = function(e) {
|
|
11560
11560
|
};
|
|
11561
|
-
|
|
11561
|
+
Pt.prototype.clone = function() {
|
|
11562
11562
|
};
|
|
11563
|
-
|
|
11563
|
+
Pt.prototype.expandEnvelope = function(e) {
|
|
11564
11564
|
};
|
|
11565
|
-
|
|
11565
|
+
Pt.prototype.copy = function() {
|
|
11566
11566
|
};
|
|
11567
|
-
|
|
11567
|
+
Pt.prototype.getY = function(e) {
|
|
11568
11568
|
};
|
|
11569
|
-
|
|
11569
|
+
Pt.prototype.toCoordinateArray = function() {
|
|
11570
11570
|
};
|
|
11571
|
-
|
|
11571
|
+
Pt.prototype.interfaces_ = function() {
|
|
11572
11572
|
return [ac];
|
|
11573
11573
|
};
|
|
11574
|
-
|
|
11575
|
-
return
|
|
11574
|
+
Pt.prototype.getClass = function() {
|
|
11575
|
+
return Pt;
|
|
11576
11576
|
};
|
|
11577
|
-
Object.defineProperties(
|
|
11577
|
+
Object.defineProperties(Pt, Xu);
|
|
11578
11578
|
var om = function() {
|
|
11579
11579
|
}, Wa = function(r) {
|
|
11580
11580
|
function e() {
|
|
@@ -12441,7 +12441,7 @@ fr.prototype.getClass = function() {
|
|
|
12441
12441
|
return fr;
|
|
12442
12442
|
};
|
|
12443
12443
|
fr.locatePointInRing = function() {
|
|
12444
|
-
if (arguments[0] instanceof D && ot(arguments[1],
|
|
12444
|
+
if (arguments[0] instanceof D && ot(arguments[1], Pt)) {
|
|
12445
12445
|
for (var e = arguments[0], t = arguments[1], n = new fr(e), i = new D(), s = new D(), o = 1; o < t.size(); o++)
|
|
12446
12446
|
if (t.getCoordinate(o, i), t.getCoordinate(o - 1, s), n.countSegment(i, s), n.isOnSegment())
|
|
12447
12447
|
return n.getLocation();
|
|
@@ -12476,7 +12476,7 @@ W.signedArea = function() {
|
|
|
12476
12476
|
t += s * (a - o);
|
|
12477
12477
|
}
|
|
12478
12478
|
return t / 2;
|
|
12479
|
-
} else if (ot(arguments[0],
|
|
12479
|
+
} else if (ot(arguments[0], Pt)) {
|
|
12480
12480
|
var u = arguments[0], l = u.size();
|
|
12481
12481
|
if (l < 3)
|
|
12482
12482
|
return 0;
|
|
@@ -14008,7 +14008,7 @@ re.copyCoord = function(e, t, n, i) {
|
|
|
14008
14008
|
};
|
|
14009
14009
|
re.isRing = function(e) {
|
|
14010
14010
|
var t = e.size();
|
|
14011
|
-
return t === 0 ? !0 : t <= 3 ? !1 : e.getOrdinate(0,
|
|
14011
|
+
return t === 0 ? !0 : t <= 3 ? !1 : e.getOrdinate(0, Pt.X) === e.getOrdinate(t - 1, Pt.X) && e.getOrdinate(0, Pt.Y) === e.getOrdinate(t - 1, Pt.Y);
|
|
14012
14012
|
};
|
|
14013
14013
|
re.isEqual = function(e, t) {
|
|
14014
14014
|
var n = e.size(), i = t.size();
|
|
@@ -14066,7 +14066,7 @@ re.ensureValidRing = function(e, t) {
|
|
|
14066
14066
|
return t;
|
|
14067
14067
|
if (n <= 3)
|
|
14068
14068
|
return re.createClosedRing(e, t, 4);
|
|
14069
|
-
var i = t.getOrdinate(0,
|
|
14069
|
+
var i = t.getOrdinate(0, Pt.X) === t.getOrdinate(n - 1, Pt.X) && t.getOrdinate(0, Pt.Y) === t.getOrdinate(n - 1, Pt.Y);
|
|
14070
14070
|
return i ? t : re.createClosedRing(e, t, n + 1);
|
|
14071
14071
|
};
|
|
14072
14072
|
re.createClosedRing = function(e, t, n) {
|
|
@@ -14697,7 +14697,7 @@ var ee = function() {
|
|
|
14697
14697
|
this._coordinates = new Array(t).fill(null);
|
|
14698
14698
|
for (var n = 0; n < t; n++)
|
|
14699
14699
|
e._coordinates[n] = new D();
|
|
14700
|
-
} else if (ot(arguments[0],
|
|
14700
|
+
} else if (ot(arguments[0], Pt)) {
|
|
14701
14701
|
var i = arguments[0];
|
|
14702
14702
|
if (i === null)
|
|
14703
14703
|
return this._coordinates = new Array(0).fill(null), null;
|
|
@@ -14719,13 +14719,13 @@ var ee = function() {
|
|
|
14719
14719
|
}, lm = { serialVersionUID: { configurable: !0 } };
|
|
14720
14720
|
ee.prototype.setOrdinate = function(e, t, n) {
|
|
14721
14721
|
switch (t) {
|
|
14722
|
-
case
|
|
14722
|
+
case Pt.X:
|
|
14723
14723
|
this._coordinates[e].x = n;
|
|
14724
14724
|
break;
|
|
14725
|
-
case
|
|
14725
|
+
case Pt.Y:
|
|
14726
14726
|
this._coordinates[e].y = n;
|
|
14727
14727
|
break;
|
|
14728
|
-
case
|
|
14728
|
+
case Pt.Z:
|
|
14729
14729
|
this._coordinates[e].z = n;
|
|
14730
14730
|
break;
|
|
14731
14731
|
default:
|
|
@@ -14737,11 +14737,11 @@ ee.prototype.size = function() {
|
|
|
14737
14737
|
};
|
|
14738
14738
|
ee.prototype.getOrdinate = function(e, t) {
|
|
14739
14739
|
switch (t) {
|
|
14740
|
-
case
|
|
14740
|
+
case Pt.X:
|
|
14741
14741
|
return this._coordinates[e].x;
|
|
14742
|
-
case
|
|
14742
|
+
case Pt.Y:
|
|
14743
14743
|
return this._coordinates[e].y;
|
|
14744
|
-
case
|
|
14744
|
+
case Pt.Z:
|
|
14745
14745
|
return this._coordinates[e].z;
|
|
14746
14746
|
}
|
|
14747
14747
|
return ct.NaN;
|
|
@@ -14797,7 +14797,7 @@ ee.prototype.toCoordinateArray = function() {
|
|
|
14797
14797
|
return this._coordinates;
|
|
14798
14798
|
};
|
|
14799
14799
|
ee.prototype.interfaces_ = function() {
|
|
14800
|
-
return [
|
|
14800
|
+
return [Pt, zn];
|
|
14801
14801
|
};
|
|
14802
14802
|
ee.prototype.getClass = function() {
|
|
14803
14803
|
return ee;
|
|
@@ -14816,7 +14816,7 @@ Zr.prototype.create = function() {
|
|
|
14816
14816
|
if (arguments[0] instanceof Array) {
|
|
14817
14817
|
var e = arguments[0];
|
|
14818
14818
|
return new ee(e);
|
|
14819
|
-
} else if (ot(arguments[0],
|
|
14819
|
+
} else if (ot(arguments[0], Pt)) {
|
|
14820
14820
|
var t = arguments[0];
|
|
14821
14821
|
return new ee(t);
|
|
14822
14822
|
}
|
|
@@ -14976,7 +14976,7 @@ wt.prototype.createLineString = function(e) {
|
|
|
14976
14976
|
if (e) {
|
|
14977
14977
|
if (e instanceof Array)
|
|
14978
14978
|
return new Qt(this.getCoordinateSequenceFactory().create(e), this);
|
|
14979
|
-
if (ot(e,
|
|
14979
|
+
if (ot(e, Pt))
|
|
14980
14980
|
return new Qt(e, this);
|
|
14981
14981
|
} else return new Qt(this.getCoordinateSequenceFactory().create([]), this);
|
|
14982
14982
|
};
|
|
@@ -15019,7 +15019,7 @@ wt.prototype.createPoint = function() {
|
|
|
15019
15019
|
if (arguments[0] instanceof D) {
|
|
15020
15020
|
var e = arguments[0];
|
|
15021
15021
|
return this.createPoint(e !== null ? this.getCoordinateSequenceFactory().create([e]) : null);
|
|
15022
|
-
} else if (ot(arguments[0],
|
|
15022
|
+
} else if (ot(arguments[0], Pt)) {
|
|
15023
15023
|
var t = arguments[0];
|
|
15024
15024
|
return new gn(t, this);
|
|
15025
15025
|
}
|
|
@@ -15032,7 +15032,7 @@ wt.prototype.createPolygon = function() {
|
|
|
15032
15032
|
if (arguments.length === 0)
|
|
15033
15033
|
return new me(null, null, this);
|
|
15034
15034
|
if (arguments.length === 1) {
|
|
15035
|
-
if (ot(arguments[0],
|
|
15035
|
+
if (ot(arguments[0], Pt)) {
|
|
15036
15036
|
var e = arguments[0];
|
|
15037
15037
|
return this.createPolygon(this.createLinearRing(e));
|
|
15038
15038
|
} else if (arguments[0] instanceof Array) {
|
|
@@ -15079,7 +15079,7 @@ wt.prototype.createLinearRing = function() {
|
|
|
15079
15079
|
if (arguments[0] instanceof Array) {
|
|
15080
15080
|
var e = arguments[0];
|
|
15081
15081
|
return this.createLinearRing(e !== null ? this.getCoordinateSequenceFactory().create(e) : null);
|
|
15082
|
-
} else if (ot(arguments[0],
|
|
15082
|
+
} else if (ot(arguments[0], Pt)) {
|
|
15083
15083
|
var t = arguments[0];
|
|
15084
15084
|
return new Jr(t, this);
|
|
15085
15085
|
}
|
|
@@ -15104,7 +15104,7 @@ wt.prototype.createMultiPoint = function() {
|
|
|
15104
15104
|
} else if (arguments[0] instanceof Array) {
|
|
15105
15105
|
var n = arguments[0];
|
|
15106
15106
|
return this.createMultiPoint(n !== null ? this.getCoordinateSequenceFactory().create(n) : null);
|
|
15107
|
-
} else if (ot(arguments[0],
|
|
15107
|
+
} else if (ot(arguments[0], Pt)) {
|
|
15108
15108
|
var i = arguments[0];
|
|
15109
15109
|
if (i === null)
|
|
15110
15110
|
return this.createMultiPoint(new Array(0).fill(null));
|
|
@@ -18186,25 +18186,25 @@ mm.COORDINATE_ARRAY_TYPE.get = function() {
|
|
|
18186
18186
|
return new Array(0).fill(null);
|
|
18187
18187
|
};
|
|
18188
18188
|
Object.defineProperties(On, mm);
|
|
18189
|
-
var
|
|
18189
|
+
var St = function() {
|
|
18190
18190
|
}, Do = { PI_TIMES_2: { configurable: !0 }, PI_OVER_2: { configurable: !0 }, PI_OVER_4: { configurable: !0 }, COUNTERCLOCKWISE: { configurable: !0 }, CLOCKWISE: { configurable: !0 }, NONE: { configurable: !0 } };
|
|
18191
|
-
|
|
18191
|
+
St.prototype.interfaces_ = function() {
|
|
18192
18192
|
return [];
|
|
18193
18193
|
};
|
|
18194
|
-
|
|
18195
|
-
return
|
|
18194
|
+
St.prototype.getClass = function() {
|
|
18195
|
+
return St;
|
|
18196
18196
|
};
|
|
18197
|
-
|
|
18197
|
+
St.toDegrees = function(e) {
|
|
18198
18198
|
return e * 180 / Math.PI;
|
|
18199
18199
|
};
|
|
18200
|
-
|
|
18200
|
+
St.normalize = function(e) {
|
|
18201
18201
|
for (; e > Math.PI; )
|
|
18202
|
-
e -=
|
|
18202
|
+
e -= St.PI_TIMES_2;
|
|
18203
18203
|
for (; e <= -Math.PI; )
|
|
18204
|
-
e +=
|
|
18204
|
+
e += St.PI_TIMES_2;
|
|
18205
18205
|
return e;
|
|
18206
18206
|
};
|
|
18207
|
-
|
|
18207
|
+
St.angle = function() {
|
|
18208
18208
|
if (arguments.length === 1) {
|
|
18209
18209
|
var e = arguments[0];
|
|
18210
18210
|
return Math.atan2(e.y, e.x);
|
|
@@ -18213,48 +18213,48 @@ Ct.angle = function() {
|
|
|
18213
18213
|
return Math.atan2(s, i);
|
|
18214
18214
|
}
|
|
18215
18215
|
};
|
|
18216
|
-
|
|
18216
|
+
St.isAcute = function(e, t, n) {
|
|
18217
18217
|
var i = e.x - t.x, s = e.y - t.y, o = n.x - t.x, a = n.y - t.y, u = i * o + s * a;
|
|
18218
18218
|
return u > 0;
|
|
18219
18219
|
};
|
|
18220
|
-
|
|
18220
|
+
St.isObtuse = function(e, t, n) {
|
|
18221
18221
|
var i = e.x - t.x, s = e.y - t.y, o = n.x - t.x, a = n.y - t.y, u = i * o + s * a;
|
|
18222
18222
|
return u < 0;
|
|
18223
18223
|
};
|
|
18224
|
-
|
|
18225
|
-
var i =
|
|
18224
|
+
St.interiorAngle = function(e, t, n) {
|
|
18225
|
+
var i = St.angle(t, e), s = St.angle(t, n);
|
|
18226
18226
|
return Math.abs(s - i);
|
|
18227
18227
|
};
|
|
18228
|
-
|
|
18228
|
+
St.normalizePositive = function(e) {
|
|
18229
18229
|
if (e < 0) {
|
|
18230
18230
|
for (; e < 0; )
|
|
18231
|
-
e +=
|
|
18232
|
-
e >=
|
|
18231
|
+
e += St.PI_TIMES_2;
|
|
18232
|
+
e >= St.PI_TIMES_2 && (e = 0);
|
|
18233
18233
|
} else {
|
|
18234
|
-
for (; e >=
|
|
18235
|
-
e -=
|
|
18234
|
+
for (; e >= St.PI_TIMES_2; )
|
|
18235
|
+
e -= St.PI_TIMES_2;
|
|
18236
18236
|
e < 0 && (e = 0);
|
|
18237
18237
|
}
|
|
18238
18238
|
return e;
|
|
18239
18239
|
};
|
|
18240
|
-
|
|
18241
|
-
var i =
|
|
18242
|
-
return
|
|
18240
|
+
St.angleBetween = function(e, t, n) {
|
|
18241
|
+
var i = St.angle(t, e), s = St.angle(t, n);
|
|
18242
|
+
return St.diff(i, s);
|
|
18243
18243
|
};
|
|
18244
|
-
|
|
18244
|
+
St.diff = function(e, t) {
|
|
18245
18245
|
var n = null;
|
|
18246
18246
|
return e < t ? n = t - e : n = e - t, n > Math.PI && (n = 2 * Math.PI - n), n;
|
|
18247
18247
|
};
|
|
18248
|
-
|
|
18248
|
+
St.toRadians = function(e) {
|
|
18249
18249
|
return e * Math.PI / 180;
|
|
18250
18250
|
};
|
|
18251
|
-
|
|
18251
|
+
St.getTurn = function(e, t) {
|
|
18252
18252
|
var n = Math.sin(t - e);
|
|
18253
|
-
return n > 0 ?
|
|
18253
|
+
return n > 0 ? St.COUNTERCLOCKWISE : n < 0 ? St.CLOCKWISE : St.NONE;
|
|
18254
18254
|
};
|
|
18255
|
-
|
|
18256
|
-
var i =
|
|
18257
|
-
return o <= -Math.PI ? o +
|
|
18255
|
+
St.angleBetweenOriented = function(e, t, n) {
|
|
18256
|
+
var i = St.angle(t, e), s = St.angle(t, n), o = s - i;
|
|
18257
|
+
return o <= -Math.PI ? o + St.PI_TIMES_2 : o > Math.PI ? o - St.PI_TIMES_2 : o;
|
|
18258
18258
|
};
|
|
18259
18259
|
Do.PI_TIMES_2.get = function() {
|
|
18260
18260
|
return 2 * Math.PI;
|
|
@@ -18274,7 +18274,7 @@ Do.CLOCKWISE.get = function() {
|
|
|
18274
18274
|
Do.NONE.get = function() {
|
|
18275
18275
|
return W.COLLINEAR;
|
|
18276
18276
|
};
|
|
18277
|
-
Object.defineProperties(
|
|
18277
|
+
Object.defineProperties(St, Do);
|
|
18278
18278
|
var qt = function r() {
|
|
18279
18279
|
this._maxCurveSegmentError = 0, this._filletAngleQuantum = null, this._closingSegLengthFactor = 1, this._segList = null, this._distance = 0, this._precisionModel = null, this._bufParams = null, this._li = null, this._s0 = null, this._s1 = null, this._s2 = null, this._seg0 = new $(), this._seg1 = new $(), this._offset0 = new $(), this._offset1 = new $(), this._side = 0, this._hasNarrowConcaveAngle = !1;
|
|
18280
18280
|
var e = arguments[0], t = arguments[1], n = arguments[2];
|
|
@@ -18351,7 +18351,7 @@ qt.prototype.initSideSegments = function(e, t, n) {
|
|
|
18351
18351
|
this._s1 = e, this._s2 = t, this._side = n, this._seg1.setCoordinates(e, t), this.computeOffsetSegment(this._seg1, n, this._distance, this._offset1);
|
|
18352
18352
|
};
|
|
18353
18353
|
qt.prototype.addLimitedMitreJoin = function(e, t, n, i) {
|
|
18354
|
-
var s = this._seg0.p1, o =
|
|
18354
|
+
var s = this._seg0.p1, o = St.angle(s, this._seg0.p0), a = St.angleBetweenOriented(this._seg0.p0, s, this._seg1.p1), u = a / 2, l = St.normalize(o + u), c = St.normalize(l + Math.PI), h = i * n, f = h * Math.abs(Math.sin(u)), p = n - f, m = s.x + h * Math.cos(c), E = s.y + h * Math.sin(c), C = new D(m, E), b = new $(s, C), v = b.pointAlongOffset(1, p), _ = b.pointAlongOffset(1, -p);
|
|
18355
18355
|
this._side === z.LEFT ? (this._segList.addPt(v), this._segList.addPt(_)) : (this._segList.addPt(_), this._segList.addPt(v));
|
|
18356
18356
|
};
|
|
18357
18357
|
qt.prototype.computeOffsetSegment = function(e, t, n, i) {
|
|
@@ -18675,7 +18675,7 @@ At.longestSideLength = function(e, t, n) {
|
|
|
18675
18675
|
return s > a && (a = s), o > a && (a = o), a;
|
|
18676
18676
|
};
|
|
18677
18677
|
At.isAcute = function(e, t, n) {
|
|
18678
|
-
return !(!
|
|
18678
|
+
return !(!St.isAcute(e, t, n) || !St.isAcute(t, n, e) || !St.isAcute(n, e, t));
|
|
18679
18679
|
};
|
|
18680
18680
|
At.circumcentre = function(e, t, n) {
|
|
18681
18681
|
var i = n.x, s = n.y, o = e.x - i, a = e.y - s, u = t.x - i, l = t.y - s, c = 2 * At.det(o, a, u, l), h = At.det(a, o * o + a * a, l, u * u + l * l), f = At.det(o, o * o + a * a, u, u * u + l * l), p = i - h / c, m = s + f / c;
|
|
@@ -23268,8 +23268,8 @@ function z0(r, e, t, n) {
|
|
|
23268
23268
|
}
|
|
23269
23269
|
function P() {
|
|
23270
23270
|
for (var Y = 0, q = 0, K = p.length; q < K; ++q)
|
|
23271
|
-
for (var ut = p[q], dt = 1, H = ut.length, J = ut[0], Z, _t, Ot = J[0],
|
|
23272
|
-
Z = Ot, _t =
|
|
23271
|
+
for (var ut = p[q], dt = 1, H = ut.length, J = ut[0], Z, _t, Ot = J[0], xt = J[1]; dt < H; ++dt)
|
|
23272
|
+
Z = Ot, _t = xt, J = ut[dt], Ot = J[0], xt = J[1], _t <= n ? xt > n && (Ot - Z) * (n - _t) > (xt - _t) * (r - Z) && ++Y : xt <= n && (Ot - Z) * (n - _t) < (xt - _t) * (r - Z) && --Y;
|
|
23273
23273
|
return Y;
|
|
23274
23274
|
}
|
|
23275
23275
|
function O() {
|
|
@@ -26444,7 +26444,7 @@ const ai = class ai extends Gt {
|
|
|
26444
26444
|
new at([], "点样式"),
|
|
26445
26445
|
new X([this, "pointed"], "开启", !1),
|
|
26446
26446
|
new M([this, "pointSize"], "点大小", 1),
|
|
26447
|
-
new
|
|
26447
|
+
new bt([this, "pointSizeType"], [["screen", "screen"], ["world", "world"]], "点类型", "screen"),
|
|
26448
26448
|
new Rt([this, "pointColor"], "点颜色", [1, 1, 1, 1]),
|
|
26449
26449
|
new Rt([this, "pointOutlineColor"], "轮廓颜色", ai.defaults.pointStyle.outlineColor),
|
|
26450
26450
|
new M([this, "pointOutlineWidth"], "轮廓宽度", ai.defaults.pointStyle.outlineWidth),
|
|
@@ -26452,7 +26452,7 @@ const ai = class ai extends Gt {
|
|
|
26452
26452
|
new X([this, "stroked"], "开启线样式", !0),
|
|
26453
26453
|
new X([this, "strokeGround"], "贴地", !1),
|
|
26454
26454
|
new M([this, "strokeWidth"], "线宽", 1),
|
|
26455
|
-
new
|
|
26455
|
+
new bt([this, "strokeWidthType"], [["screen", "screen"], ["world", "world"]], "线类型", "screen"),
|
|
26456
26456
|
new Rt([this, "strokeColor"], "线颜色", [1, 1, 1, 1]),
|
|
26457
26457
|
new at([], "面样式"),
|
|
26458
26458
|
new X([this, "filled"], "开启", !1),
|
|
@@ -27213,13 +27213,13 @@ const Bo = class Bo extends st {
|
|
|
27213
27213
|
new at([], "点样式集合"),
|
|
27214
27214
|
new X([this, "pointed"], "开启点样式", !1),
|
|
27215
27215
|
new M([this, "pointSize"], "点大小", 1),
|
|
27216
|
-
new
|
|
27216
|
+
new bt([this, "pointSizeType"], [["screen", "screen"], ["world", "world"]], "点类型", "screen"),
|
|
27217
27217
|
new Rt([this, "pointColor"], "点颜色", [1, 1, 1, 1]),
|
|
27218
27218
|
new at([], "线样式集合"),
|
|
27219
27219
|
new X([this, "stroked"], "开启线样式", !1),
|
|
27220
27220
|
new X([this, "strokeGround"], "是否贴地(线)", !1),
|
|
27221
27221
|
new M([this, "strokeWidth"], "线宽", 1),
|
|
27222
|
-
new
|
|
27222
|
+
new bt([this, "strokeWidthType"], [["screen", "screen"], ["world", "world"]], "线类型", "screen"),
|
|
27223
27223
|
new Rt([this, "strokeColor"], "线颜色", [1, 1, 1, 1]),
|
|
27224
27224
|
new at([], "面样式集合"),
|
|
27225
27225
|
new X([this, "filled"], "开启填充样式", !1),
|
|
@@ -27544,8 +27544,8 @@ const uE = [["固定朝向", 0], ["面向屏幕旋转", 1], ["绕自身Z轴旋
|
|
|
27544
27544
|
new ke([this, "size"], "尺寸大小", [100, 100]),
|
|
27545
27545
|
new ke([this, "anchor"], "偏移比例", [0.5, 1]),
|
|
27546
27546
|
new ke([this, "offset"], "像素偏移", [0, 0]),
|
|
27547
|
-
new
|
|
27548
|
-
new
|
|
27547
|
+
new bt([this, "renderMode"], lE, "渲染模式", 0),
|
|
27548
|
+
new bt([this, "rotationType"], uE, "漫游旋转类型", 1),
|
|
27549
27549
|
new mt([this, "actorTag"], "绑定对象"),
|
|
27550
27550
|
new mt([this, "socketName"], "插槽名称"),
|
|
27551
27551
|
new In([this, "positionOffset"], "位置偏移"),
|
|
@@ -28121,8 +28121,8 @@ const ui = class ui extends Gt {
|
|
|
28121
28121
|
basic: [
|
|
28122
28122
|
...t.basic,
|
|
28123
28123
|
new tn([this, "maximumScreenSpaceError"], 1, [0, 256], "精度", 16),
|
|
28124
|
-
new
|
|
28125
|
-
new
|
|
28124
|
+
new bt([this, "materialMode"], [["常规", "normal"], ["科技感", "technology"]], "材质模式", "normal", !0),
|
|
28125
|
+
new bt([this, "colorBlendMode"], [["默认", "HIGHLIGHT"], ["替换", "REPLACE"], ["混合", "MIX"]], "颜色模式", "HIGHLIGHT"),
|
|
28126
28126
|
new nt([this, "materialOverrideMap"], "材质替换", ui.defaults.materialOverrideMap)
|
|
28127
28127
|
],
|
|
28128
28128
|
dataSource: [
|
|
@@ -28155,7 +28155,7 @@ const ui = class ui extends Gt {
|
|
|
28155
28155
|
new nt([this, "czmEnvironmentMapManager"], "动态环境贴图管理器"),
|
|
28156
28156
|
new M([this, "czmMaximumMemoryUsage"], "最大内存"),
|
|
28157
28157
|
new at([], "常用"),
|
|
28158
|
-
new
|
|
28158
|
+
new bt([this, "czmClassificationType"], [["NONE", "NONE"], ["TERRAIN", "TERRAIN"], ["CESIUM_3D_TILE", "CESIUM_3D_TILE"], ["BOTH", "BOTH"]], "czmClassificationType", "NONE", !0),
|
|
28159
28159
|
new nt([this, "czmStyleJson"], "czmStyle"),
|
|
28160
28160
|
new X([this, "czmBackFaceCulling"]),
|
|
28161
28161
|
new X([this, "czmSkipLevelOfDetail"]),
|
|
@@ -28381,7 +28381,7 @@ const Uo = class Uo extends st {
|
|
|
28381
28381
|
...t,
|
|
28382
28382
|
basic: [
|
|
28383
28383
|
...t.basic,
|
|
28384
|
-
new
|
|
28384
|
+
new bt([this, "mode"], [["柱状警告", "cylinder"], ["圆形警告", "circle"]], "模式", "cylinder"),
|
|
28385
28385
|
new M([this, "radius"], "半径", 10)
|
|
28386
28386
|
]
|
|
28387
28387
|
};
|
|
@@ -28420,7 +28420,7 @@ const zs = class zs extends st {
|
|
|
28420
28420
|
...e.basic,
|
|
28421
28421
|
// 创建一个数字属性,表示光圈的半径
|
|
28422
28422
|
new M([this, "radius"], "半径", 1),
|
|
28423
|
-
new
|
|
28423
|
+
new bt([this, "mode"], [["扫描", "scan"], ["扩散", "diffuse"]], "模式", zs.defaults.mode)
|
|
28424
28424
|
]
|
|
28425
28425
|
};
|
|
28426
28426
|
}
|
|
@@ -29221,7 +29221,7 @@ const nr = class nr extends et {
|
|
|
29221
29221
|
...t,
|
|
29222
29222
|
more: [
|
|
29223
29223
|
...t.more,
|
|
29224
|
-
new
|
|
29224
|
+
new bt([this, "flyMode"], [["默认", "default"], ["直线飞行", "uniform"]], "飞行模式", nr.defaults.flyMode),
|
|
29225
29225
|
new lt([], () => this.addView(), [], "添加视角"),
|
|
29226
29226
|
new lt(["number"], (n) => this.insertView(n), [0], "插入视角"),
|
|
29227
29227
|
new lt([], () => this.clearAllViews(), [], "清空所有视角"),
|
|
@@ -29343,7 +29343,7 @@ const Wo = class Wo extends st {
|
|
|
29343
29343
|
...e,
|
|
29344
29344
|
basic: [
|
|
29345
29345
|
...e.basic,
|
|
29346
|
-
new
|
|
29346
|
+
new bt([this, "mode"], [["警车", "policeCar"]], "模式", "policeCar")
|
|
29347
29347
|
]
|
|
29348
29348
|
};
|
|
29349
29349
|
}
|
|
@@ -30054,7 +30054,7 @@ const ls = class ls extends Wt {
|
|
|
30054
30054
|
...e,
|
|
30055
30055
|
basic: [
|
|
30056
30056
|
...e.basic,
|
|
30057
|
-
new
|
|
30057
|
+
new bt([this, "mode"], ls.modes, "模式", "in"),
|
|
30058
30058
|
new mt([this, "targetID"], "瓦片图层", "")
|
|
30059
30059
|
]
|
|
30060
30060
|
};
|
|
@@ -30894,8 +30894,8 @@ const ir = class ir extends st {
|
|
|
30894
30894
|
...t,
|
|
30895
30895
|
basic: [
|
|
30896
30896
|
...t.basic,
|
|
30897
|
-
new
|
|
30898
|
-
new
|
|
30897
|
+
new bt([this, "mode"], ir.modes, "模式", ir.defaults.mode, !0),
|
|
30898
|
+
new bt([this, "animation"], ir.animations, "动画", ir.defaults.animation, !0)
|
|
30899
30899
|
],
|
|
30900
30900
|
more: [
|
|
30901
30901
|
...t.more,
|
|
@@ -31212,7 +31212,7 @@ export type ESJTimeIntervalCollectionJsonType = {
|
|
|
31212
31212
|
...e.basic,
|
|
31213
31213
|
new M([this, "size"], "尺寸", Mr.defaults.size),
|
|
31214
31214
|
new X([this, "autoFollow"], "自动跟随", Mr.defaults.autoFollow),
|
|
31215
|
-
new
|
|
31215
|
+
new bt([this, "mode"], Mr.modes, "模式", "blueSky")
|
|
31216
31216
|
],
|
|
31217
31217
|
more: [
|
|
31218
31218
|
...e.more,
|
|
@@ -31615,7 +31615,7 @@ const Rr = class Rr extends xr {
|
|
|
31615
31615
|
...t,
|
|
31616
31616
|
basic: [
|
|
31617
31617
|
...t.basic,
|
|
31618
|
-
new
|
|
31618
|
+
new bt([this, "mode"], Rr.modes, "模式", Rr.defaults.mode),
|
|
31619
31619
|
new nt([this, "style"], "样式", Rr.defaults.style),
|
|
31620
31620
|
new X([this, "autoAnchor"], "自动锚点对齐", Rr.defaults.autoAnchor)
|
|
31621
31621
|
]
|
|
@@ -31718,7 +31718,7 @@ const ci = class ci extends st {
|
|
|
31718
31718
|
...e,
|
|
31719
31719
|
basic: [
|
|
31720
31720
|
...e.basic,
|
|
31721
|
-
new
|
|
31721
|
+
new bt([this, "mode"], ci.modes, "模式", ci.defaults.mode),
|
|
31722
31722
|
new nt([this, "style"], "样式", ci.defaults.style)
|
|
31723
31723
|
]
|
|
31724
31724
|
};
|
|
@@ -32253,7 +32253,7 @@ const ln = class ln extends st {
|
|
|
32253
32253
|
new M([this, "frequency"], "频率", ln.defaults.frequency),
|
|
32254
32254
|
new M([this, "currentTime"], "当前时间", ln.defaults.currentTime),
|
|
32255
32255
|
new nt([this, "materialParams"], "材质参数", ln.defaults.materialParams),
|
|
32256
|
-
new
|
|
32256
|
+
new bt([this, "waterType"], [["river", "river"], ["ocean", "ocean"], ["lake", "lake"], ["custom", "custom"]], "水域类型", "river"),
|
|
32257
32257
|
new Rt([this, "waterColor"], "水的底色", ln.defaults.waterColor),
|
|
32258
32258
|
new tn([this, "waveVelocity"], 0.01, [0, 1], "波动频率", ln.defaults.waveVelocity),
|
|
32259
32259
|
new M([this, "flowSpeed"], "水流速度", ln.defaults.flowSpeed),
|
|
@@ -32376,13 +32376,13 @@ const Js = class Js extends Wt {
|
|
|
32376
32376
|
...t.more,
|
|
32377
32377
|
new Rt([this, "startColor"], "起始颜色"),
|
|
32378
32378
|
new Rt([this, "endColor"], "结束颜色"),
|
|
32379
|
-
new M([this, "progress"], "计算进度"),
|
|
32380
|
-
new M([this, "extrudedHeight"], "
|
|
32381
|
-
new M([this, "height"], "底面高度"),
|
|
32382
|
-
new M([this, "sampleDistance"], "采样间距m"),
|
|
32383
|
-
new M([this, "startTime"], "
|
|
32384
|
-
new M([this, "endTime"], "
|
|
32385
|
-
new M([this, "spanTime"], "
|
|
32379
|
+
new M([this, "progress"], "计算进度(%)", 0, !0),
|
|
32380
|
+
new M([this, "extrudedHeight"], "分析区域高度(m)"),
|
|
32381
|
+
new M([this, "height"], "底面高度(m)"),
|
|
32382
|
+
new M([this, "sampleDistance"], "采样间距(m)"),
|
|
32383
|
+
new M([this, "startTime"], "起始时间(ms)"),
|
|
32384
|
+
new M([this, "endTime"], "结束时间(ms)"),
|
|
32385
|
+
new M([this, "spanTime"], "时间跨度(h)"),
|
|
32386
32386
|
new lt([], () => this.start(), [], "开始分析"),
|
|
32387
32387
|
new lt([], () => this.stop(), [], "结束分析")
|
|
32388
32388
|
]
|
|
@@ -32550,8 +32550,8 @@ const Lr = class Lr extends xr {
|
|
|
32550
32550
|
new X([this, "textEditing"], "文本编辑"),
|
|
32551
32551
|
new M([this, "width"], "宽度", Lr.defaults.width, !0),
|
|
32552
32552
|
new M([this, "opacity"], "透明度"),
|
|
32553
|
-
new
|
|
32554
|
-
new
|
|
32553
|
+
new bt([this, "textAlign"], [["center", "center"], ["left", "left"], ["right", "right"]], "文字位置", "left"),
|
|
32554
|
+
new bt(
|
|
32555
32555
|
[this, "borderStyle"],
|
|
32556
32556
|
[
|
|
32557
32557
|
["none", "none"],
|
|
@@ -32953,7 +32953,7 @@ const cn = class cn extends st {
|
|
|
32953
32953
|
new M([this, "near"], "近面距离", cn.defaults.near),
|
|
32954
32954
|
new nt([this, "videoStreamUrl"], "视频路径", cn.defaults.videoStreamUrl),
|
|
32955
32955
|
new M([this, "zIndex"], "显示优先级", cn.defaults.zIndex),
|
|
32956
|
-
new
|
|
32956
|
+
new bt([this, "videoStreamType"], cn.videoStreamTypes, "视频类型", "video")
|
|
32957
32957
|
],
|
|
32958
32958
|
more: [
|
|
32959
32959
|
...t.more,
|
|
@@ -33255,7 +33255,7 @@ const ev = `// dataSource
|
|
|
33255
33255
|
\`\`\`
|
|
33256
33256
|
${ev}
|
|
33257
33257
|
\`\`\`
|
|
33258
|
-
`, IE = "${earthsdk3-assets-script-dir}/assets/misc/2.geojson",
|
|
33258
|
+
`, IE = "${earthsdk3-assets-script-dir}/assets/misc/2.geojson", Ct = class Ct extends Gt {
|
|
33259
33259
|
/**
|
|
33260
33260
|
* 构造函数
|
|
33261
33261
|
* @param {string | undefined} id - 对象的 ID,可选
|
|
@@ -33358,7 +33358,7 @@ ${ev}
|
|
|
33358
33358
|
typeof this.url == "object" ? this.features = this.url : zg(this.url) ? this.features = JSON.parse(this.url) : await fetch(et.context.getStrFromEnv(this.url), { signal: t }).then((i) => i.json()).then((i) => {
|
|
33359
33359
|
this.features = i;
|
|
33360
33360
|
}).catch((i) => {
|
|
33361
|
-
i.name != "AbortError" && console.warn("
|
|
33361
|
+
i.name != "AbortError" && console.warn("ESGeoJson数据加载失败", i);
|
|
33362
33362
|
}), this.pickedInfoType = ((n = this.features) == null ? void 0 : n.type) ?? "FeatureCollection";
|
|
33363
33363
|
}
|
|
33364
33364
|
/**
|
|
@@ -33372,54 +33372,56 @@ ${ev}
|
|
|
33372
33372
|
defaultMenu: "style",
|
|
33373
33373
|
dataSource: [
|
|
33374
33374
|
...t.dataSource,
|
|
33375
|
-
new nt([this, "url"], "服务地址",
|
|
33376
|
-
new M([this, "minFeatureVisibleDistance"], "要素最小可视距离",
|
|
33377
|
-
new M([this, "maxFeatureVisibleDistance"], "要素最大可视距离",
|
|
33378
|
-
new
|
|
33375
|
+
new nt([this, "url"], "服务地址", Ct.defaults.url),
|
|
33376
|
+
new M([this, "minFeatureVisibleDistance"], "要素最小可视距离", Ct.defaults.minFeatureVisibleDistance),
|
|
33377
|
+
new M([this, "maxFeatureVisibleDistance"], "要素最大可视距离", Ct.defaults.maxFeatureVisibleDistance),
|
|
33378
|
+
new bt([this, "heightReference"], [["NONE", "NONE"], ["CLAMP_TO_GROUND", "CLAMP_TO_GROUND"], ["RELATIVE_TO_GROUND", "RELATIVE_TO_GROUND"]], "高度参考"),
|
|
33379
|
+
new bt([this, "classificationType"], Ct.classificationTypes, "贴地附着目标", Ct.defaults.classificationType)
|
|
33379
33380
|
],
|
|
33380
33381
|
style: [
|
|
33381
33382
|
...t.style,
|
|
33382
33383
|
new at([], "点样式集合"),
|
|
33383
|
-
new X([this, "textShow"], "是否显示",
|
|
33384
|
-
new ke([this, "textAnchor"], "锚点",
|
|
33385
|
-
new mt([this, "textProperty"], "标注显示属性",
|
|
33386
|
-
new mt([this, "textDefaultText"], "默认文本",
|
|
33387
|
-
new Rt([this, "textColor"], "文本颜色",
|
|
33388
|
-
new Rt([this, "textBackgroundColor"], "文本背景颜色",
|
|
33389
|
-
new mt([this, "textFontStyle"], "字体样式",
|
|
33390
|
-
new mt([this, "textFontWeight"], "字体粗细",
|
|
33391
|
-
new M([this, "textFontSize"], "字体大小",
|
|
33392
|
-
new ke([this, "textOffset"], "像素偏移",
|
|
33384
|
+
new X([this, "textShow"], "是否显示", Ct.defaults.textShow),
|
|
33385
|
+
new ke([this, "textAnchor"], "锚点", Ct.defaults.anchor),
|
|
33386
|
+
new mt([this, "textProperty"], "标注显示属性", Ct.defaults.textStyle.textProperty),
|
|
33387
|
+
new mt([this, "textDefaultText"], "默认文本", Ct.defaults.textStyle.defaultText),
|
|
33388
|
+
new Rt([this, "textColor"], "文本颜色", Ct.defaults.textStyle.color),
|
|
33389
|
+
new Rt([this, "textBackgroundColor"], "文本背景颜色", Ct.defaults.textStyle.backgroundColor),
|
|
33390
|
+
new mt([this, "textFontStyle"], "字体样式", Ct.defaults.textStyle.fontStyle),
|
|
33391
|
+
new mt([this, "textFontWeight"], "字体粗细", Ct.defaults.textStyle.fontWeight),
|
|
33392
|
+
new M([this, "textFontSize"], "字体大小", Ct.defaults.textStyle.fontSize),
|
|
33393
|
+
new ke([this, "textOffset"], "像素偏移", Ct.defaults.textStyle.offset),
|
|
33393
33394
|
new at([], "点图片样式集合"),
|
|
33394
|
-
new X([this, "imageShow"], "是否显示",
|
|
33395
|
-
new ke([this, "imageAnchor"], "锚点",
|
|
33396
|
-
new nt([this, "imageUrl"], "图片地址",
|
|
33397
|
-
new ke([this, "imageSize"], "图片大小",
|
|
33398
|
-
new ke([this, "imageOffset"], "像素偏移",
|
|
33395
|
+
new X([this, "imageShow"], "是否显示", Ct.defaults.imageShow),
|
|
33396
|
+
new ke([this, "imageAnchor"], "锚点", Ct.defaults.imageStyle.anchor),
|
|
33397
|
+
new nt([this, "imageUrl"], "图片地址", Ct.defaults.imageStyle.url),
|
|
33398
|
+
new ke([this, "imageSize"], "图片大小", Ct.defaults.imageStyle.size),
|
|
33399
|
+
new ke([this, "imageOffset"], "像素偏移", Ct.defaults.imageStyle.offset),
|
|
33399
33400
|
new at([], "线样式集合"),
|
|
33400
|
-
new X([this, "stroked"], "是否显示",
|
|
33401
|
-
new X([this, "strokeGround"], "贴地",
|
|
33402
|
-
new M([this, "strokeWidth"], "线宽",
|
|
33403
|
-
new
|
|
33404
|
-
new Rt([this, "strokeColor"], "线颜色",
|
|
33405
|
-
new mt([this, "strokeMaterial"], "线材质",
|
|
33406
|
-
new nt([this, "strokeMaterialParams"], "线材质参数",
|
|
33401
|
+
new X([this, "stroked"], "是否显示", Ct.defaults.stroked),
|
|
33402
|
+
new X([this, "strokeGround"], "贴地", Ct.defaults.strokeStyle.ground),
|
|
33403
|
+
new M([this, "strokeWidth"], "线宽", Ct.defaults.strokeStyle.width),
|
|
33404
|
+
new bt([this, "strokeWidthType"], Ct.strokeStyleWidthTypes, "线宽类型"),
|
|
33405
|
+
new Rt([this, "strokeColor"], "线颜色", Ct.defaults.strokeStyle.color),
|
|
33406
|
+
new mt([this, "strokeMaterial"], "线材质", Ct.defaults.strokeStyle.material),
|
|
33407
|
+
new nt([this, "strokeMaterialParams"], "线材质参数", Ct.defaults.strokeStyle.materialParams),
|
|
33407
33408
|
new at([], "面样式集合"),
|
|
33408
|
-
new X([this, "filled"], "是否显示",
|
|
33409
|
-
new X([this, "fillGround"], "贴地",
|
|
33410
|
-
new Rt([this, "fillColor"], "填充颜色",
|
|
33411
|
-
new mt([this, "fillMaterial"], "填充材质",
|
|
33412
|
-
new nt([this, "fillMaterialParams"], "填充材质参数",
|
|
33409
|
+
new X([this, "filled"], "是否显示", Ct.defaults.filled),
|
|
33410
|
+
new X([this, "fillGround"], "贴地", Ct.defaults.fillStyle.ground),
|
|
33411
|
+
new Rt([this, "fillColor"], "填充颜色", Ct.defaults.fillStyle.color),
|
|
33412
|
+
new mt([this, "fillMaterial"], "填充材质", Ct.defaults.fillStyle.material),
|
|
33413
|
+
new nt([this, "fillMaterialParams"], "填充材质参数", Ct.defaults.fillStyle.materialParams)
|
|
33413
33414
|
],
|
|
33414
33415
|
more: [
|
|
33415
33416
|
...t.more,
|
|
33416
33417
|
new at([], "标注文本样式"),
|
|
33417
|
-
new mt([this, "textFontFamily"], "字体",
|
|
33418
|
+
new mt([this, "textFontFamily"], "字体", Ct.defaults.textStyle.fontFamily),
|
|
33418
33419
|
new at([], "通用"),
|
|
33419
33420
|
new ao([this, "loadFuncStr"], "loadFnStr", ev, xE, !0)
|
|
33420
33421
|
]
|
|
33421
33422
|
};
|
|
33422
33423
|
}
|
|
33424
|
+
// #region 样式属性展开
|
|
33423
33425
|
/**
|
|
33424
33426
|
* 获取线宽
|
|
33425
33427
|
* @returns {number} 线宽
|
|
@@ -33924,8 +33926,9 @@ ${ev}
|
|
|
33924
33926
|
get imageOffsetChanged() {
|
|
33925
33927
|
return this.imageStyleChanged;
|
|
33926
33928
|
}
|
|
33929
|
+
// #endregion
|
|
33927
33930
|
};
|
|
33928
|
-
d(
|
|
33931
|
+
d(Ct, "createDefaultProps", () => ({
|
|
33929
33932
|
/**
|
|
33930
33933
|
* 继承自 ESVisualObject 的默认属性。
|
|
33931
33934
|
*/
|
|
@@ -34128,12 +34131,13 @@ d(Tt, "createDefaultProps", () => ({
|
|
|
34128
34131
|
* 高度参考模式,可选 'NONE'、'RELATIVE_TO_GROUND' 或 'CLAMP_TO_GROUND'。
|
|
34129
34132
|
* @default "NONE"
|
|
34130
34133
|
*/
|
|
34131
|
-
heightReference: "NONE"
|
|
34134
|
+
heightReference: "NONE",
|
|
34135
|
+
classificationType: "TERRAIN"
|
|
34132
34136
|
})), /**
|
|
34133
34137
|
* 注册 ESGeoJson 类,设置其类型名称、中文名称、标签和描述信息
|
|
34134
34138
|
*/
|
|
34135
|
-
d(
|
|
34136
|
-
let zl =
|
|
34139
|
+
d(Ct, "type", Ct.register("ESGeoJson", Ct, { chsName: "ESGeoJson", tags: ["ESObjects", "_ES_Impl_Cesium", "_ES_Impl_UE"], description: "GeoJson数据加载" })), d(Ct, "strokeStyleWidthTypes", [["screen", "screen"], ["world", "world"]]), d(Ct, "classificationTypes", [["TERRAIN", "TERRAIN"], ["CESIUM_3D_TILE", "CESIUM_3D_TILE"], ["BOTH", "BOTH"]]);
|
|
34140
|
+
let zl = Ct;
|
|
34137
34141
|
const Ks = class Ks extends Nt {
|
|
34138
34142
|
/**
|
|
34139
34143
|
* 构造函数,初始化 ESHeightMeasurement 对象。
|
|
@@ -34498,7 +34502,7 @@ const hi = class hi extends Nt {
|
|
|
34498
34502
|
...t.basic,
|
|
34499
34503
|
new M([this, "height"], "高度", 10),
|
|
34500
34504
|
new M([this, "width"], "宽度", 10),
|
|
34501
|
-
new
|
|
34505
|
+
new bt([this, "materialMode"], hi.materialModes, "模式", hi.defaults.materialMode)
|
|
34502
34506
|
],
|
|
34503
34507
|
coordinate: [
|
|
34504
34508
|
...t.coordinate,
|
|
@@ -34609,7 +34613,7 @@ const Ai = class Ai extends qr {
|
|
|
34609
34613
|
new at([], "ESPipeserTileset"),
|
|
34610
34614
|
new lt(["string", "string"], (n, i) => this.setLayerVisible(n, i), ["", ""], "setLayerVisible"),
|
|
34611
34615
|
new lt(["string", "string"], (n, i) => this.setLayerColor(n, i), ["", ""], "setLayerColor"),
|
|
34612
|
-
new
|
|
34616
|
+
new bt([this, "colorMode"], Ai.colorModes, "colorMode", Ai.defaults.colorMode, !0)
|
|
34613
34617
|
]
|
|
34614
34618
|
};
|
|
34615
34619
|
}
|
|
@@ -34658,7 +34662,7 @@ const Fi = class Fi extends Nt {
|
|
|
34658
34662
|
basic: [
|
|
34659
34663
|
...t.basic,
|
|
34660
34664
|
new M([this, "height"], "高度", 10),
|
|
34661
|
-
new
|
|
34665
|
+
new bt([this, "materialMode"], Fi.materialModes, "模式", "danger")
|
|
34662
34666
|
]
|
|
34663
34667
|
};
|
|
34664
34668
|
}
|
|
@@ -35057,7 +35061,7 @@ const hn = class hn extends Ul {
|
|
|
35057
35061
|
...e,
|
|
35058
35062
|
basic: [
|
|
35059
35063
|
...e.basic,
|
|
35060
|
-
new
|
|
35064
|
+
new bt([this, "waterType"], [["river", "river"], ["ocean", "ocean"], ["lake", "lake"], ["custom", "custom"]], "水域类型", hn.defaults.waterType),
|
|
35061
35065
|
new M([this, "frequency"], "频率", hn.defaults.frequency),
|
|
35062
35066
|
new tn([this, "amplitude"], 0.01, [0, 1], "振幅", hn.defaults.amplitude),
|
|
35063
35067
|
new tn([this, "flowDirection"], 1, [0, 360], "流向", hn.defaults.flowDirection),
|
|
@@ -35122,7 +35126,7 @@ const dn = class dn extends Wt {
|
|
|
35122
35126
|
defaultMenu: "basic",
|
|
35123
35127
|
basic: [
|
|
35124
35128
|
...e.basic,
|
|
35125
|
-
new
|
|
35129
|
+
new bt([this, "waterType"], [["river", "river"], ["ocean", "ocean"], ["lake", "lake"], ["custom", "custom"]], "水域类型", dn.defaults.waterType),
|
|
35126
35130
|
new M([this, "frequency"], "频率", dn.defaults.frequency),
|
|
35127
35131
|
new tn([this, "amplitude"], 0.01, [0, 1], "振幅", dn.defaults.amplitude),
|
|
35128
35132
|
new tn([this, "flowDirection"], 1, [0, 360], "流向", dn.defaults.flowDirection),
|
|
@@ -35264,7 +35268,7 @@ const Un = class Un extends As {
|
|
|
35264
35268
|
new M([this, "radius"], "半径", Un.defaults.radius),
|
|
35265
35269
|
new M([this, "sides"], "圆边数", Un.defaults.sides),
|
|
35266
35270
|
new M([this, "speed"], "材质速度", Un.defaults.speed),
|
|
35267
|
-
new
|
|
35271
|
+
new bt([this, "materialMode"], Un.materialModes, "材质模式", Un.defaults.materialMode),
|
|
35268
35272
|
new nt([this, "materialImage"], "材质图片和重复度", Un.defaults.materialImage)
|
|
35269
35273
|
]
|
|
35270
35274
|
};
|
|
@@ -35574,7 +35578,7 @@ const ia = class ia extends va {
|
|
|
35574
35578
|
...t,
|
|
35575
35579
|
basic: [
|
|
35576
35580
|
...t.basic,
|
|
35577
|
-
new
|
|
35581
|
+
new bt([this, "poiMode"], jl.modes, "poi模式", "SquareH01"),
|
|
35578
35582
|
new M([this, "poiOffsetHeight"], "poi高度偏移", 1.8)
|
|
35579
35583
|
]
|
|
35580
35584
|
};
|
|
@@ -35750,7 +35754,7 @@ const sa = class sa extends cu {
|
|
|
35750
35754
|
basic: [
|
|
35751
35755
|
...t.basic,
|
|
35752
35756
|
// 添加模式的枚举属性
|
|
35753
|
-
new
|
|
35757
|
+
new bt([this, "mode"], Bl.modes, "模式", "in"),
|
|
35754
35758
|
// 添加瓦片图层的字符串属性
|
|
35755
35759
|
new mt([this, "targetID"], "瓦片图层", "")
|
|
35756
35760
|
]
|
|
@@ -36630,7 +36634,7 @@ const ua = class ua extends et {
|
|
|
36630
36634
|
...e.more,
|
|
36631
36635
|
new at([], "通用", "通用"),
|
|
36632
36636
|
new X([this, "show"], "是否显示"),
|
|
36633
|
-
new
|
|
36637
|
+
new bt([this, "screenPosition"], [["left", "left"], ["right", "right"]], "定位", "right"),
|
|
36634
36638
|
new ke([this, "cssPosition"], "位置")
|
|
36635
36639
|
]
|
|
36636
36640
|
};
|
|
@@ -36892,7 +36896,7 @@ const Fr = class Fr extends Gt {
|
|
|
36892
36896
|
new nt([this, "url"], "地址", Fr.defaults.url),
|
|
36893
36897
|
new M([this, "pixelRange"], "集合范围", Fr.defaults.pixelRange),
|
|
36894
36898
|
new M([this, "minimumClusterSize"], "最小数量", Fr.defaults.minimumClusterSize),
|
|
36895
|
-
new
|
|
36899
|
+
new bt([this, "heightReference"], [["None", "None"], ["CLAMP_TO_GROUND", "CLAMP_TO_GROUND"], ["CLAMP_TO_TERRAIN", "CLAMP_TO_TERRAIN"]], "高度模式", "None")
|
|
36896
36900
|
],
|
|
36897
36901
|
more: [
|
|
36898
36902
|
...t.more,
|
|
@@ -37924,7 +37928,7 @@ const ca = class ca extends As {
|
|
|
37924
37928
|
...t.basic,
|
|
37925
37929
|
new J_([this, "timeStamps"], "时间序列", [], !0),
|
|
37926
37930
|
new M([this, "speed"], "线条流速", 1),
|
|
37927
|
-
new
|
|
37931
|
+
new bt([this, "materialMode"], [["单箭头", "singleArrow"], ["多箭头", "multipleArrows"], ["纯色", "pureColor"]], "模式", "singleArrow"),
|
|
37928
37932
|
new nt([this, "rotationRadius"], "拐弯半径")
|
|
37929
37933
|
],
|
|
37930
37934
|
more: [
|
|
@@ -38011,8 +38015,8 @@ const gs = class gs extends st {
|
|
|
38011
38015
|
new yi([this, "borderRadius"], "边框圆角"),
|
|
38012
38016
|
new Rt([this, "borderColor"], "边框颜色"),
|
|
38013
38017
|
new M([this, "borderWidth"], "边框宽度"),
|
|
38014
|
-
new
|
|
38015
|
-
new
|
|
38018
|
+
new bt([this, "textAlign"], [["center", "center"], ["left", "left"], ["right", "right"]], "文字位置"),
|
|
38019
|
+
new bt([this, "borderStyle"], [
|
|
38016
38020
|
["none", "none"],
|
|
38017
38021
|
["hidden", "hidden"],
|
|
38018
38022
|
["dotted", "dotted"],
|
|
@@ -38421,8 +38425,8 @@ const kr = class kr extends et {
|
|
|
38421
38425
|
new ma([this, "startTime"], "开始时间", kr.defaults.startTime, !0),
|
|
38422
38426
|
new ma([this, "stopTime"], "结束时间", kr.defaults.stopTime, !0),
|
|
38423
38427
|
new ma([this, "currentTime"], "当前时间", kr.defaults.currentTime, !0),
|
|
38424
|
-
new
|
|
38425
|
-
new
|
|
38428
|
+
new bt([this, "clockStep"], [["TICK_DEPENDENT", "TICK_DEPENDENT"], ["SYSTEM_CLOCK_MULTIPLIER", "SYSTEM_CLOCK_MULTIPLIER"], ["SYSTEM_CLOCK", "SYSTEM_CLOCK"]], "clockStep", "SYSTEM_CLOCK_MULTIPLIER"),
|
|
38429
|
+
new bt([this, "clockRange"], [["UNBOUNDED", "UNBOUNDED"], ["CLAMPED", "CLAMPED"], ["LOOP_STOP", "LOOP_STOP"]], "clockRange", "UNBOUNDED"),
|
|
38426
38430
|
new X([this, "shouldAnimate"], "是否启用动画", !1)
|
|
38427
38431
|
],
|
|
38428
38432
|
general: [
|
|
@@ -41713,6 +41717,8 @@ const ji = class ji extends V {
|
|
|
41713
41717
|
}
|
|
41714
41718
|
/**
|
|
41715
41719
|
* 清空视口中的所有场景对象。
|
|
41720
|
+
* @example
|
|
41721
|
+
* objm.activeViewer.clearAllSceneObjects()
|
|
41716
41722
|
*/
|
|
41717
41723
|
clearAllSceneObjects() {
|
|
41718
41724
|
for (let t of this.sceneObjects)
|
|
@@ -41911,66 +41917,127 @@ const ji = class ji extends V {
|
|
|
41911
41917
|
// 事件开始——————————————————————————————————————————————————————————————————————事件开始
|
|
41912
41918
|
/**
|
|
41913
41919
|
* 鼠标悬停事件 悬停时长可由 hoverTime 属性控制。
|
|
41920
|
+
* @example
|
|
41921
|
+
* objm.activeViewer.hoverEvent.don((e) => {
|
|
41922
|
+
const { screenPosition, pointerEvent } = e;
|
|
41923
|
+
console.log('屏幕坐标: ',screenPosition);
|
|
41924
|
+
console.log('pointerEvent:',pointerEvent);
|
|
41925
|
+
})
|
|
41914
41926
|
*/
|
|
41915
41927
|
get hoverEvent() {
|
|
41916
41928
|
return this._hoverEvent;
|
|
41917
41929
|
}
|
|
41918
41930
|
/**
|
|
41919
41931
|
* 获取鼠标指针进入事件。
|
|
41932
|
+
* @example
|
|
41933
|
+
* objm.activeViewer.pointerOverEvent.don((e) => {
|
|
41934
|
+
const { screenPosition, pointerEvent } = e;
|
|
41935
|
+
console.log('屏幕坐标',screenPosition);
|
|
41936
|
+
console.log(pointerEvent);
|
|
41937
|
+
})
|
|
41920
41938
|
*/
|
|
41921
41939
|
get pointerOverEvent() {
|
|
41922
41940
|
return this._pointerOverEvent;
|
|
41923
41941
|
}
|
|
41924
41942
|
/**
|
|
41925
41943
|
* 获取鼠标指针移动事件。
|
|
41944
|
+
* @example
|
|
41945
|
+
* objm.activeViewer.pointerMoveEvent.don((e) => {
|
|
41946
|
+
const { screenPosition, pointerEvent } = e;
|
|
41947
|
+
console.log('屏幕坐标: ',screenPosition);
|
|
41948
|
+
console.log(pointerEvent);
|
|
41949
|
+
})
|
|
41926
41950
|
*/
|
|
41927
41951
|
get pointerMoveEvent() {
|
|
41928
41952
|
return this._pointerMoveEvent;
|
|
41929
41953
|
}
|
|
41930
41954
|
/**
|
|
41931
41955
|
* 获取鼠标指针按下事件。
|
|
41956
|
+
* @example
|
|
41957
|
+
* objm.activeViewer.pointerDownEvent.don((e) => {
|
|
41958
|
+
const { screenPosition, pointerEvent } = e;
|
|
41959
|
+
console.log('屏幕坐标: ',screenPosition);
|
|
41960
|
+
console.log(pointerEvent);
|
|
41961
|
+
})
|
|
41932
41962
|
*/
|
|
41933
41963
|
get pointerDownEvent() {
|
|
41934
41964
|
return this._pointerDownEvent;
|
|
41935
41965
|
}
|
|
41936
41966
|
/**
|
|
41937
41967
|
* 获取鼠标指针抬起事件。
|
|
41968
|
+
* @example
|
|
41969
|
+
* objm.activeViewer.pointerUpEvent.don((e) => {
|
|
41970
|
+
const { screenPosition, pointerEvent } = e;
|
|
41971
|
+
console.log('屏幕坐标: ',screenPosition);
|
|
41972
|
+
console.log(pointerEvent);
|
|
41973
|
+
})
|
|
41938
41974
|
*/
|
|
41939
41975
|
get pointerUpEvent() {
|
|
41940
41976
|
return this._pointerUpEvent;
|
|
41941
41977
|
}
|
|
41942
41978
|
/**
|
|
41943
41979
|
* 获取鼠标指针移出事件。
|
|
41980
|
+
* @example
|
|
41981
|
+
* objm.activeViewer.pointerOutEvent.don((e) => {
|
|
41982
|
+
const { screenPosition, pointerEvent } = e;
|
|
41983
|
+
console.log('屏幕坐标: ',screenPosition);
|
|
41984
|
+
console.log(pointerEvent);
|
|
41985
|
+
})
|
|
41944
41986
|
*/
|
|
41945
41987
|
get pointerOutEvent() {
|
|
41946
41988
|
return this._pointerOutEvent;
|
|
41947
41989
|
}
|
|
41948
41990
|
/**
|
|
41949
41991
|
* 获取鼠标单击事件。
|
|
41992
|
+
* @example
|
|
41993
|
+
* objm.activeViewer.clickEvent.don((e) => {
|
|
41994
|
+
const { screenPosition, pointerEvent } = e;
|
|
41995
|
+
console.log('屏幕坐标: ',screenPosition);
|
|
41996
|
+
console.log(pointerEvent);
|
|
41997
|
+
})
|
|
41950
41998
|
*/
|
|
41951
41999
|
get clickEvent() {
|
|
41952
42000
|
return this._clickEvent;
|
|
41953
42001
|
}
|
|
41954
42002
|
/**
|
|
41955
42003
|
* 获取鼠标双击事件。
|
|
42004
|
+
* @example
|
|
42005
|
+
* objm.activeViewer.dblclickEvent.don((e) => {
|
|
42006
|
+
const { screenPosition, pointerEvent } = e;
|
|
42007
|
+
console.log('屏幕坐标: ',screenPosition);
|
|
42008
|
+
console.log(pointerEvent);
|
|
42009
|
+
})
|
|
41956
42010
|
*/
|
|
41957
42011
|
get dblclickEvent() {
|
|
41958
42012
|
return this._dblclickEvent;
|
|
41959
42013
|
}
|
|
41960
42014
|
/**
|
|
41961
42015
|
* 获取键盘按下事件。
|
|
42016
|
+
* @example
|
|
42017
|
+
* objm.activeViewer.keyDownEvent.don((e) => {
|
|
42018
|
+
console.log(`键盘按下:',e.key);
|
|
42019
|
+
})
|
|
41962
42020
|
*/
|
|
41963
42021
|
get keyDownEvent() {
|
|
41964
42022
|
return this._keyDownEvent;
|
|
41965
42023
|
}
|
|
41966
42024
|
/**
|
|
41967
42025
|
* 获取键盘抬起事件。
|
|
42026
|
+
* @example
|
|
42027
|
+
* objm.activeViewer.keyUpEvent.don((e) => {
|
|
42028
|
+
console.log(`键盘抬起:',e.key);
|
|
42029
|
+
})
|
|
41968
42030
|
*/
|
|
41969
42031
|
get keyUpEvent() {
|
|
41970
42032
|
return this._keyUpEvent;
|
|
41971
42033
|
}
|
|
41972
42034
|
/**
|
|
41973
42035
|
* 获取滚轮事件。
|
|
42036
|
+
* @example
|
|
42037
|
+
* objm.activeViewer.wheelEvent.don((e) => {
|
|
42038
|
+
const { deltaX, deltaY } = e;
|
|
42039
|
+
console.log('鼠标滚动:',deltaX,deltaY);
|
|
42040
|
+
})
|
|
41974
42041
|
*/
|
|
41975
42042
|
get wheelEvent() {
|
|
41976
42043
|
return this._wheelEvent;
|
|
@@ -43023,7 +43090,7 @@ export {
|
|
|
43023
43090
|
xp as ESVolumeMeasurement,
|
|
43024
43091
|
lp as ESWidget,
|
|
43025
43092
|
Ga as EngineObject,
|
|
43026
|
-
|
|
43093
|
+
bt as EnumProperty,
|
|
43027
43094
|
hb as EnumStringsProperty,
|
|
43028
43095
|
ao as EvalStringProperty,
|
|
43029
43096
|
T as Event,
|
|
@@ -43091,7 +43158,7 @@ export {
|
|
|
43091
43158
|
Xw as PropTree,
|
|
43092
43159
|
Fu as PropUiTreeManager,
|
|
43093
43160
|
oo as Property,
|
|
43094
|
-
|
|
43161
|
+
Tt as ReactVarProperty,
|
|
43095
43162
|
en as ReactiveVariable,
|
|
43096
43163
|
jg as RotationProperty,
|
|
43097
43164
|
Gg as SceneObjectFromId,
|