earthsdk3 3.0.6-beta.2 → 3.0.6-beta.21
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.cjs +522 -316
- package/dist/earthsdk3.js +522 -316
- package/dist/earthsdk3.mjs +525 -317
- package/dist/types/ESJTypes/properties/ESJEnvironmentMapManager.d.ts +12 -0
- package/dist/types/ESJTypes/properties/index.d.ts +1 -0
- package/dist/types/ESObjectManager/index.d.ts +10 -3
- package/dist/types/ESObjects/base/ESGeoVector.d.ts +3 -1
- package/dist/types/ESObjects/base/ESObjectWithLocation.d.ts +1 -0
- package/dist/types/ESObjects/base/ESSceneObject/index.d.ts +7 -2
- package/dist/types/ESObjects/base/ESVisualObject.d.ts +7 -3
- package/dist/types/ESObjects/general/ES3DTileset/index.d.ts +28 -4
- package/dist/types/ESObjects/general/ESBoxClipping.d.ts +0 -1
- package/dist/types/ESObjects/general/ESCameraView.d.ts +1 -0
- package/dist/types/ESObjects/general/ESCameraViewCollection/index.d.ts +4 -0
- package/dist/types/ESObjects/general/ESCameraVisibleRange.d.ts +2 -0
- package/dist/types/ESObjects/general/ESClassification.d.ts +2 -1
- package/dist/types/ESObjects/general/ESClippingPlane.d.ts +0 -1
- package/dist/types/ESObjects/general/ESDirectionMeasurement.d.ts +2 -0
- package/dist/types/ESObjects/general/ESExcavate.d.ts +2 -1
- package/dist/types/ESObjects/general/ESGeoDiv/index.d.ts +1 -3
- package/dist/types/ESObjects/general/ESGeoExtrudedPolygon.d.ts +1 -1
- package/dist/types/ESObjects/general/ESGeoJson/index.d.ts +2 -2
- package/dist/types/ESObjects/general/ESGeoLineString.d.ts +3 -2
- package/dist/types/ESObjects/general/ESGeoPolygon.d.ts +2 -1
- package/dist/types/ESObjects/general/ESGeoRectangle.d.ts +2 -1
- package/dist/types/ESObjects/general/ESGltfModel.d.ts +19 -2
- package/dist/types/ESObjects/general/ESHeightLimitAnalysis.d.ts +2 -4
- package/dist/types/ESObjects/general/ESHeightMeasurement.d.ts +2 -0
- package/dist/types/ESObjects/general/ESHole.d.ts +22 -12
- package/dist/types/ESObjects/general/ESHumanPoi.d.ts +1 -2
- package/dist/types/ESObjects/general/ESImageryLayer/index.d.ts +4 -4
- package/dist/types/ESObjects/general/ESImageryLayer/types.d.ts +5 -5
- package/dist/types/ESObjects/general/ESLocalCircle.d.ts +2 -1
- package/dist/types/ESObjects/general/ESLocalRectangle.d.ts +0 -1
- package/dist/types/ESObjects/general/ESLocationMeasurement.d.ts +0 -1
- package/dist/types/ESObjects/general/ESMsTileset/index.d.ts +11 -8
- package/dist/types/ESObjects/general/ESPath/index.d.ts +1 -1
- package/dist/types/ESObjects/general/ESPipeFence.d.ts +2 -1
- package/dist/types/ESObjects/general/ESPipeline.d.ts +1 -1
- package/dist/types/ESObjects/general/ESPipeserTileset.d.ts +4 -0
- package/dist/types/ESObjects/general/ESPit.d.ts +4 -1
- package/dist/types/ESObjects/general/ESPolygonFence.d.ts +2 -1
- package/dist/types/ESObjects/general/ESRectangle.d.ts +2 -1
- package/dist/types/ESObjects/general/ESRtsFeatureEditing/index.d.ts +5 -3
- package/dist/types/ESObjects/general/ESRtsTileset/index.d.ts +10 -2
- package/dist/types/ESObjects/general/ESTerrainLayer.d.ts +11 -1
- package/dist/types/ESObjects/general/ESTextLabel.d.ts +0 -1
- package/dist/types/ESObjects/general/ESVideoFusion.d.ts +2 -1
- package/dist/types/ESObjects/general/ESViewShed.d.ts +2 -0
- package/dist/types/ESObjects/general/ESVisibilityAnalysis.d.ts +2 -1
- package/dist/types/ESViewer/ESViewer.d.ts +26 -4
- package/dist/types/ESViewer/StatusContainer.d.ts +4 -4
- package/dist/types/utils/SceneTrees/defaultLight122FromEnvironmentMapManager.d.ts +8 -0
- package/dist/types/utils/SceneTrees/index.d.ts +1 -0
- package/dist/types/utils/index.d.ts +1 -0
- package/dist/types/utils/registerCreatedEventUpdate.d.ts +3 -0
- package/dist/types/utils/registerEventUpdate.d.ts +1 -1
- package/package.json +46 -45
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ESJVector4D } from "./DataType";
|
|
2
|
+
export type ESJEnvironmentMapManagerType = {
|
|
3
|
+
atmosphereScatteringIntensity?: number;
|
|
4
|
+
brightness?: number;
|
|
5
|
+
enabled?: boolean;
|
|
6
|
+
gamma?: number;
|
|
7
|
+
groundAlbedo?: number;
|
|
8
|
+
groundColor?: ESJVector4D;
|
|
9
|
+
maximumSecondsDifference?: number;
|
|
10
|
+
maximumPositionEpsilon?: number;
|
|
11
|
+
saturation?: number;
|
|
12
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Destroyable, Event, JsonValue, UniteChanged } from "xbsj-base";
|
|
2
2
|
import { ESJSwitchToCesiumViewerOptionType, ESJSwitchToUEViewerOptionType, ESJVector3D, ESObjectsManagerJsonType, ESVOption, ESVOptionCzm, ESVOptionUe } from "../ESJTypes";
|
|
3
|
-
import { ESCameraViewCollection, ESSceneObject } from "../ESObjects";
|
|
3
|
+
import { ESCameraViewCollection, ESPlayer, ESSceneObject } from "../ESObjects";
|
|
4
4
|
import { ESViewer } from "../ESViewer";
|
|
5
5
|
import { DragStartDataManager, PropUiTreeManager, SceneTree } from "../utils";
|
|
6
6
|
import { ESPlyarAndPathTime } from "./ESPlyarAndPathTime";
|
|
@@ -16,12 +16,16 @@ export declare class ESObjectsManager extends Destroyable {
|
|
|
16
16
|
[k: string]: string | undefined;
|
|
17
17
|
};
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
20
|
-
* 获取场景对象
|
|
19
|
+
* 根据对象id获取场景对象
|
|
21
20
|
* @param id 对象id
|
|
22
21
|
* @returns
|
|
23
22
|
*/
|
|
24
23
|
getSceneObjectById(id: string): ESSceneObject | undefined;
|
|
24
|
+
/**
|
|
25
|
+
* 获取场景对象
|
|
26
|
+
* @param option 可以是id或者对象类型type,为空则返回所有对象
|
|
27
|
+
* @returns ESSceneObject | ESSceneObject[] | undefined
|
|
28
|
+
*/
|
|
25
29
|
getSceneObject(option?: string): ESSceneObject | ESSceneObject[] | undefined;
|
|
26
30
|
get $refs(): {
|
|
27
31
|
[k: string]: ESSceneObject | undefined;
|
|
@@ -99,6 +103,9 @@ export declare class ESObjectsManager extends Destroyable {
|
|
|
99
103
|
}): T | undefined;
|
|
100
104
|
destroySceneObject<T extends ESSceneObject>(sceneObject: T): boolean;
|
|
101
105
|
destroyAllSceneObjects(): void;
|
|
106
|
+
private _player;
|
|
107
|
+
private _playerdon;
|
|
108
|
+
get player(): ESPlayer;
|
|
102
109
|
private _esPlyarAndPathTime;
|
|
103
110
|
get esPlyarAndPathTime(): ESPlyarAndPathTime;
|
|
104
111
|
private _pathAnimationManager;
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import { JsonValue, UniteChanged } from "xbsj-base";
|
|
2
|
-
import { ESJFillStyle, ESJPointStyle, ESJRenderType, ESJStrokeStyle, ESJVector3D, ESJVector3DArray } from "../../ESJTypes";
|
|
2
|
+
import { ESJEditingBindModeType, ESJFillStyle, ESJPointStyle, ESJRenderType, ESJStrokeStyle, ESJVector3D, ESJVector3DArray } from "../../ESJTypes";
|
|
3
3
|
import { ESVisualObject } from "./ESVisualObject";
|
|
4
4
|
/**
|
|
5
5
|
* https://www.wolai.com/earthsdk/u1Uc89HHrBjiGGB67BdFLc
|
|
6
6
|
*/
|
|
7
7
|
export declare abstract class ESGeoVector extends ESVisualObject {
|
|
8
8
|
static supportEditingModes: string[];
|
|
9
|
+
editingBindMode: ESJEditingBindModeType;
|
|
10
|
+
updateEditing(): void;
|
|
9
11
|
protected _area: import("xbsj-base").ReactiveVariable<number>;
|
|
10
12
|
get area(): number;
|
|
11
13
|
get areaChanged(): import("xbsj-base").Listener<[number, number]>;
|
|
@@ -2,6 +2,7 @@ import { ESJVector3D } from "../../ESJTypes";
|
|
|
2
2
|
import { Event, Listener, UniteChanged } from "xbsj-base";
|
|
3
3
|
import { ESVisualObject } from "./ESVisualObject";
|
|
4
4
|
export declare abstract class ESObjectWithLocation extends ESVisualObject {
|
|
5
|
+
updateEditing(): void;
|
|
5
6
|
private _statusDis;
|
|
6
7
|
get statusDis(): boolean;
|
|
7
8
|
get statusDisChanged(): Listener<[boolean, boolean]>;
|
|
@@ -42,7 +42,6 @@ export declare abstract class ESSceneObject extends Destroyable {
|
|
|
42
42
|
createAttachedObject(createViewerPropSceneObject: (viewer: ESViewer) => Destroyable | undefined): () => void;
|
|
43
43
|
registerAttachedObjectForContainer(createContainerPropSceneObject: (viewer: ESViewer, container: HTMLDivElement) => Destroyable | undefined): void;
|
|
44
44
|
/**
|
|
45
|
-
* @deprecated 请使用getSceneObject代替
|
|
46
45
|
* 获取场景对象
|
|
47
46
|
* @param id 对象id
|
|
48
47
|
* @returns
|
|
@@ -76,8 +75,14 @@ export declare abstract class ESSceneObject extends Destroyable {
|
|
|
76
75
|
static defaults: {};
|
|
77
76
|
viewer: ESViewer | undefined;
|
|
78
77
|
viewerChanged: Event<[ESViewer | undefined]>;
|
|
78
|
+
/**
|
|
79
|
+
* 是否是组合类
|
|
80
|
+
* 组合类是指该类的实例不需要自动更新也不需要创建销毁,不用给ue发送这个对象的消息,都有组合类去处理
|
|
81
|
+
* 如果是组合类,那么需要指定主类是哪个,用于指定编辑对象,设置属性mainClass
|
|
82
|
+
*/
|
|
79
83
|
combinationClass: boolean;
|
|
80
|
-
|
|
84
|
+
mainClass: ESSceneObject | undefined;
|
|
85
|
+
getMainClass(): ESSceneObject;
|
|
81
86
|
protected _innerGetJson(ignoreDefaults?: boolean): JsonValue;
|
|
82
87
|
protected _innerSetJson(value: JsonValue, filterKeys?: string[], partialSetting?: boolean): void;
|
|
83
88
|
get json(): JsonValue;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ESJEditingModeType, ESJFlyInParam, ESJFlyToParam, ESJPickedInfo } from "../../ESJTypes";
|
|
1
|
+
import { ESJEditingBindModeType, ESJEditingModeType, ESJFlyInParam, ESJFlyToParam, ESJPickedInfo } from "../../ESJTypes";
|
|
2
2
|
import { Event, Listener, UniteChanged } from "xbsj-base";
|
|
3
3
|
import { ESSceneObject } from "./ESSceneObject";
|
|
4
4
|
import { ESViewer } from "../../ESViewer";
|
|
@@ -12,6 +12,10 @@ export declare abstract class ESVisualObject extends ESSceneObject {
|
|
|
12
12
|
get editing(): boolean;
|
|
13
13
|
set editing(value: boolean);
|
|
14
14
|
get editingChanged(): Listener<[boolean, boolean]>;
|
|
15
|
+
editingID: string | undefined;
|
|
16
|
+
editingBindMode: ESJEditingBindModeType;
|
|
17
|
+
updateEditing(): void;
|
|
18
|
+
constructor(id?: string);
|
|
15
19
|
/**
|
|
16
20
|
* 弃用变量管理器
|
|
17
21
|
* 请勿使用该属性
|
|
@@ -26,11 +30,11 @@ export declare abstract class ESVisualObject extends ESSceneObject {
|
|
|
26
30
|
_deprecatedWarning(): void;
|
|
27
31
|
static _lastFlyInId: number;
|
|
28
32
|
private _flyInEvent;
|
|
29
|
-
get flyInEvent():
|
|
33
|
+
get flyInEvent(): Event<[duration: number, id: number, flyMode?: "default" | "uniform" | undefined]>;
|
|
30
34
|
flyIn(duration?: number): void;
|
|
31
35
|
static _lastFlyToId: number;
|
|
32
36
|
private _flyToEvent;
|
|
33
|
-
get flyToEvent(): Listener<[duration: number, id: number]>;
|
|
37
|
+
get flyToEvent(): Listener<[duration: number, id: number, flyMode?: 'default' | 'uniform']>;
|
|
34
38
|
flyTo(duration?: number): void;
|
|
35
39
|
private _flyOverEvent;
|
|
36
40
|
get flyOverEvent(): Event<[id: number, mode: "error" | "cancelled" | "over", viewer: ESViewer]>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ESJColor, ESJMaterialType, ESJResource, ESJsonObjectType, ESJVector2D, ESJVector3D, ESJVector4D } from "../../../ESJTypes";
|
|
1
|
+
import { ESJColor, ESJEnvironmentMapManagerType, ESJMaterialType, ESJResource, ESJsonObjectType, ESJVector2D, ESJVector3D, ESJVector4D } from "../../../ESJTypes";
|
|
2
2
|
import { ESVisualObject } from "../../../ESObjects";
|
|
3
3
|
import { Event, JsonValue, UniteChanged } from "xbsj-base";
|
|
4
4
|
import { ESJFeatureStyleType, FeatureColorJsonType, FeatureVisableJsonType } from "./type";
|
|
@@ -20,10 +20,14 @@ export declare class ES3DTileset extends ESVisualObject {
|
|
|
20
20
|
offset: import("xbsj-base").ReactiveVariable<ESJVector3D | undefined>;
|
|
21
21
|
rotation: import("xbsj-base").ReactiveVariable<ESJVector3D>;
|
|
22
22
|
czmImageBasedLightingFactor: import("xbsj-base").ReactiveVariable<ESJVector2D>;
|
|
23
|
+
czmEnvironmentMapManager: import("xbsj-base").ReactiveVariable<ESJEnvironmentMapManagerType | undefined>;
|
|
23
24
|
/**
|
|
24
|
-
* @deprecated czmLuminanceAtZenith已弃用,请使用
|
|
25
|
+
* @deprecated czmLuminanceAtZenith已弃用,请使用czmEnvironmentMapManager代替
|
|
25
26
|
*/
|
|
26
27
|
czmLuminanceAtZenith: number;
|
|
28
|
+
/**
|
|
29
|
+
* @deprecated czmAtmosphereScatteringIntensity已弃用,请使用czmEnvironmentMapManager代替
|
|
30
|
+
*/
|
|
27
31
|
czmAtmosphereScatteringIntensity: number;
|
|
28
32
|
czmMaximumMemoryUsage: number;
|
|
29
33
|
czmClassificationType: string;
|
|
@@ -40,6 +44,7 @@ export declare class ES3DTileset extends ESVisualObject {
|
|
|
40
44
|
clippingPlaneEdgeWidth: number;
|
|
41
45
|
materialParams: ESJsonObjectType;
|
|
42
46
|
allowPicking: boolean;
|
|
47
|
+
materialOverrideMap: import("xbsj-base").ReactiveVariable<undefined>;
|
|
43
48
|
show: boolean;
|
|
44
49
|
collision: boolean;
|
|
45
50
|
flyToParam: import("xbsj-base").ReactiveVariable<import("../../../ESJTypes").ESJFlyToParam | undefined>;
|
|
@@ -53,6 +58,7 @@ export declare class ES3DTileset extends ESVisualObject {
|
|
|
53
58
|
toDestroyFuncStr: string | undefined;
|
|
54
59
|
};
|
|
55
60
|
static supportEditingModes: string[];
|
|
61
|
+
updateEditing(): void;
|
|
56
62
|
private _refreshTilesetEvent;
|
|
57
63
|
get refreshTilesetEvent(): Event<[]>;
|
|
58
64
|
refreshTileset(): void;
|
|
@@ -84,6 +90,9 @@ export declare class ES3DTileset extends ESVisualObject {
|
|
|
84
90
|
key: string;
|
|
85
91
|
type: string | number;
|
|
86
92
|
}[] | undefined>;
|
|
93
|
+
private _getMaterialNameListEvent;
|
|
94
|
+
get getMaterialNameListEvent(): Event<[string[] | "start" | undefined]>;
|
|
95
|
+
getMaterialNameList(): Promise<unknown>;
|
|
87
96
|
private _setFeatureStyleEvent;
|
|
88
97
|
get setFeatureStyleEvent(): Event<[ESJFeatureStyleType]>;
|
|
89
98
|
/**
|
|
@@ -180,9 +189,14 @@ export declare class ES3DTileset extends ESVisualObject {
|
|
|
180
189
|
private _resetFeatureStyleEvent;
|
|
181
190
|
get resetFeatureStyleEvent(): Event<[]>;
|
|
182
191
|
resetFeatureStyle(): void;
|
|
192
|
+
setMaterialInfoEvent: Event<[{
|
|
193
|
+
[xx: string]: any;
|
|
194
|
+
}]>;
|
|
183
195
|
private _setMaterialEvent;
|
|
184
196
|
get setMaterialEvent(): Event<["default" | ESJMaterialType]>;
|
|
185
|
-
setMaterial(options: ESJMaterialType | 'default'):
|
|
197
|
+
setMaterial(options: ESJMaterialType | 'default'): Promise<{
|
|
198
|
+
[xx: string]: any;
|
|
199
|
+
}>;
|
|
186
200
|
private _clippingPlanesId;
|
|
187
201
|
get clippingPlanesId(): string;
|
|
188
202
|
set clippingPlanesId(value: string);
|
|
@@ -213,6 +227,10 @@ export declare class ES3DTileset extends ESVisualObject {
|
|
|
213
227
|
get excavateId(): string[];
|
|
214
228
|
set excavateId(value: string[]);
|
|
215
229
|
get excavateIdChanged(): import("xbsj-base").Listener<[string[], string[]]>;
|
|
230
|
+
/**
|
|
231
|
+
* 仅Cesium引擎生效
|
|
232
|
+
*/
|
|
233
|
+
setLight122(): void;
|
|
216
234
|
static defaults: {
|
|
217
235
|
url: string;
|
|
218
236
|
actorTag: string;
|
|
@@ -223,6 +241,7 @@ export declare class ES3DTileset extends ESVisualObject {
|
|
|
223
241
|
baseColor: number[];
|
|
224
242
|
};
|
|
225
243
|
cacheBytes: number;
|
|
244
|
+
materialOverrideMap: {};
|
|
226
245
|
show: boolean;
|
|
227
246
|
collision: boolean;
|
|
228
247
|
allowPicking: boolean;
|
|
@@ -252,10 +271,14 @@ export declare namespace ES3DTileset {
|
|
|
252
271
|
offset: import("xbsj-base").ReactiveVariable<ESJVector3D | undefined>;
|
|
253
272
|
rotation: import("xbsj-base").ReactiveVariable<ESJVector3D>;
|
|
254
273
|
czmImageBasedLightingFactor: import("xbsj-base").ReactiveVariable<ESJVector2D>;
|
|
274
|
+
czmEnvironmentMapManager: import("xbsj-base").ReactiveVariable<ESJEnvironmentMapManagerType | undefined>;
|
|
255
275
|
/**
|
|
256
|
-
* @deprecated czmLuminanceAtZenith已弃用,请使用
|
|
276
|
+
* @deprecated czmLuminanceAtZenith已弃用,请使用czmEnvironmentMapManager代替
|
|
257
277
|
*/
|
|
258
278
|
czmLuminanceAtZenith: number;
|
|
279
|
+
/**
|
|
280
|
+
* @deprecated czmAtmosphereScatteringIntensity已弃用,请使用czmEnvironmentMapManager代替
|
|
281
|
+
*/
|
|
259
282
|
czmAtmosphereScatteringIntensity: number;
|
|
260
283
|
czmMaximumMemoryUsage: number;
|
|
261
284
|
czmClassificationType: string;
|
|
@@ -272,6 +295,7 @@ export declare namespace ES3DTileset {
|
|
|
272
295
|
clippingPlaneEdgeWidth: number;
|
|
273
296
|
materialParams: ESJsonObjectType;
|
|
274
297
|
allowPicking: boolean;
|
|
298
|
+
materialOverrideMap: import("xbsj-base").ReactiveVariable<undefined>;
|
|
275
299
|
show: boolean;
|
|
276
300
|
collision: boolean;
|
|
277
301
|
flyToParam: import("xbsj-base").ReactiveVariable<import("../../../ESJTypes").ESJFlyToParam | undefined>;
|
|
@@ -33,6 +33,7 @@ export declare class ESCameraView extends ESObjectWithLocation {
|
|
|
33
33
|
get duration(): number;
|
|
34
34
|
set duration(value: number);
|
|
35
35
|
get durationChanged(): import("xbsj-base").Listener<[number, number]>;
|
|
36
|
+
flyIn(duration?: number, flyMode?: "default" | "uniform"): void;
|
|
36
37
|
private _resetWithCurrentCameraEvent;
|
|
37
38
|
get resetWithCurrentCameraEvent(): Event<[]>;
|
|
38
39
|
/**
|
|
@@ -13,6 +13,7 @@ export declare class ESCameraViewCollection extends ESSceneObject {
|
|
|
13
13
|
playing: boolean;
|
|
14
14
|
loop: boolean;
|
|
15
15
|
intervalTime: number;
|
|
16
|
+
flyMode: "default" | "uniform";
|
|
16
17
|
name: string;
|
|
17
18
|
ref: string | undefined;
|
|
18
19
|
extras: import("xbsj-base").ReactiveVariable<import("xbsj-base").JsonValue>;
|
|
@@ -146,6 +147,8 @@ export declare class ESCameraViewCollection extends ESSceneObject {
|
|
|
146
147
|
intervalTime: number;
|
|
147
148
|
duration: number;
|
|
148
149
|
views: never[];
|
|
150
|
+
flyMode: "default" | "uniform";
|
|
151
|
+
flyModes: [name: string, value: string][];
|
|
149
152
|
};
|
|
150
153
|
getProperties(language?: string): import("../../../ESJTypes").Property[];
|
|
151
154
|
}
|
|
@@ -154,6 +157,7 @@ export declare namespace ESCameraViewCollection {
|
|
|
154
157
|
playing: boolean;
|
|
155
158
|
loop: boolean;
|
|
156
159
|
intervalTime: number;
|
|
160
|
+
flyMode: "default" | "uniform";
|
|
157
161
|
name: string;
|
|
158
162
|
ref: string | undefined;
|
|
159
163
|
extras: import("xbsj-base").ReactiveVariable<import("xbsj-base").JsonValue>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { UniteChanged } from "xbsj-base";
|
|
2
|
+
import { ESJEditingBindModeType } from "../../ESJTypes";
|
|
2
3
|
import { ESObjectWithLocation } from "../base";
|
|
3
4
|
/**
|
|
4
5
|
* https://www.wolai.com/earthsdk/uraiJ6nPZBuNTiNMsx78vP
|
|
@@ -30,6 +31,7 @@ export declare class ESCameraVisibleRange extends ESObjectWithLocation {
|
|
|
30
31
|
toDestroyFuncStr: string | undefined;
|
|
31
32
|
};
|
|
32
33
|
constructor(id?: string);
|
|
34
|
+
editingBindMode: ESJEditingBindModeType;
|
|
33
35
|
static defaults: {
|
|
34
36
|
fov: number;
|
|
35
37
|
aspectRatio: number;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { UniteChanged } from "xbsj-base";
|
|
2
|
-
import { ESJFillStyle } from "../../ESJTypes";
|
|
2
|
+
import { ESJEditingBindModeType, ESJFillStyle } from "../../ESJTypes";
|
|
3
3
|
import { ESGeoVector } from "../base";
|
|
4
4
|
export declare class ESClassification extends ESGeoVector {
|
|
5
5
|
static readonly type: string;
|
|
@@ -28,6 +28,7 @@ export declare class ESClassification extends ESGeoVector {
|
|
|
28
28
|
};
|
|
29
29
|
constructor(id?: string);
|
|
30
30
|
static supportEditingModes: string[];
|
|
31
|
+
editingBindMode: ESJEditingBindModeType;
|
|
31
32
|
static defaults: {
|
|
32
33
|
fillStyle: ESJFillStyle;
|
|
33
34
|
filled: boolean;
|
|
@@ -31,7 +31,6 @@ export declare class ESClippingPlane extends ESObjectWithLocation {
|
|
|
31
31
|
updateFuncStr: string | undefined;
|
|
32
32
|
toDestroyFuncStr: string | undefined;
|
|
33
33
|
};
|
|
34
|
-
static supportEditingModes: string[];
|
|
35
34
|
constructor(id?: SceneObjectKey);
|
|
36
35
|
static defaults: {
|
|
37
36
|
show: boolean;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { UniteChanged } from "xbsj-base";
|
|
2
2
|
import { ESGeoVector } from "../base";
|
|
3
|
+
import { ESJEditingBindModeType } from "../../ESJTypes";
|
|
3
4
|
/**
|
|
4
5
|
* https://www.wolai.com/earthsdk/37rp47JvTtZqEJESf5AuQu
|
|
5
6
|
*/
|
|
@@ -30,6 +31,7 @@ export declare class ESDirectionMeasurement extends ESGeoVector {
|
|
|
30
31
|
get strokeWidth(): number;
|
|
31
32
|
set strokeWidth(value: number);
|
|
32
33
|
static supportEditingModes: string[];
|
|
34
|
+
editingBindMode: ESJEditingBindModeType;
|
|
33
35
|
constructor(id?: string);
|
|
34
36
|
static defaults: {
|
|
35
37
|
points: import("../../ESJTypes").ESJVector3DArray;
|
|
@@ -3,6 +3,7 @@ import { BooleanProperty, ColorProperty, EnumProperty, GroupProperty, NumberProp
|
|
|
3
3
|
import { ESGeoPolygon } from "./ESGeoPolygon";
|
|
4
4
|
/**
|
|
5
5
|
* https://www.wolai.com/earthsdk/ejBicXu8Jxr2EGJDcxYvkV
|
|
6
|
+
* https://c0yh9tnn0na.feishu.cn/wiki/UGIqwnIc6iGZozkzPqMcYoUwnPg
|
|
6
7
|
*
|
|
7
8
|
*/
|
|
8
9
|
export declare class ESExcavate extends ESGeoPolygon {
|
|
@@ -51,7 +52,7 @@ export declare class ESExcavate extends ESGeoPolygon {
|
|
|
51
52
|
constructor(id?: string);
|
|
52
53
|
getESProperties(): {
|
|
53
54
|
basic: import("../../ESJTypes").Property[];
|
|
54
|
-
style: (GroupProperty |
|
|
55
|
+
style: (GroupProperty | EnumProperty<string> | NumberProperty | BooleanProperty | ColorProperty)[];
|
|
55
56
|
coordinate: import("../../ESJTypes").Property[];
|
|
56
57
|
defaultMenu: string;
|
|
57
58
|
general: import("../../ESJTypes").Property[];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ESJVector2D, ESJWidgetEventInfo } from "../../../ESJTypes";
|
|
2
2
|
import { Event, UniteChanged } from "xbsj-base";
|
|
3
|
-
import { ESObjectWithLocation
|
|
3
|
+
import { ESObjectWithLocation } from "../../base";
|
|
4
4
|
import { ESGeoDivInstanceClass } from "./mds";
|
|
5
5
|
/**
|
|
6
6
|
* https://www.wolai.com/earthsdk/e17QPxZkVnG3ujXj8sJ2un
|
|
@@ -9,8 +9,6 @@ export declare class ESGeoDiv extends ESObjectWithLocation {
|
|
|
9
9
|
static readonly type: string;
|
|
10
10
|
get typeName(): string;
|
|
11
11
|
combinationClass: boolean;
|
|
12
|
-
mainClass: ESSceneObject | undefined;
|
|
13
|
-
getMainClass(): ESSceneObject;
|
|
14
12
|
get defaultProps(): {
|
|
15
13
|
opacity: number;
|
|
16
14
|
anchor: import("xbsj-base").ReactiveVariable<[leftRatio: number, topRatio: number]>;
|
|
@@ -52,7 +52,7 @@ export declare class ESGeoExtrudedPolygon extends ESGeoPolygon {
|
|
|
52
52
|
constructor(id?: SceneObjectKey);
|
|
53
53
|
getESProperties(): {
|
|
54
54
|
coordinate: import("../../ESJTypes").Property[];
|
|
55
|
-
style: (GroupProperty |
|
|
55
|
+
style: (GroupProperty | EnumProperty<string> | NumberProperty | BooleanProperty | ColorProperty)[];
|
|
56
56
|
defaultMenu: string;
|
|
57
57
|
general: import("../../ESJTypes").Property[];
|
|
58
58
|
basic: import("../../ESJTypes").Property[];
|
|
@@ -124,10 +124,10 @@ export declare class ESGeoJson extends ESVisualObject {
|
|
|
124
124
|
defaultMenu: string;
|
|
125
125
|
basic: never[];
|
|
126
126
|
general: (StringProperty | FunctionProperty<[]> | BooleanProperty)[];
|
|
127
|
-
dataSource: (
|
|
127
|
+
dataSource: (EnumProperty<string> | NumberProperty | JsonProperty<string>)[];
|
|
128
128
|
location: never[];
|
|
129
129
|
coordinate: never[];
|
|
130
|
-
style: (GroupProperty | StringProperty |
|
|
130
|
+
style: (GroupProperty | StringProperty | EnumProperty<string> | NumberProperty | BooleanProperty | ColorProperty | JsonProperty<string> | Number2Property | JsonProperty<{}>)[];
|
|
131
131
|
};
|
|
132
132
|
getProperties(language?: string): import("../../../ESJTypes").Property[];
|
|
133
133
|
get strokeWidth(): number;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UniteChanged } from "xbsj-base";
|
|
2
2
|
import { ESGeoVector } from "../base";
|
|
3
|
-
import { BooleanProperty, ColorProperty, EnumProperty, ESJStrokeStyle, GroupProperty, NumberProperty } from "../../ESJTypes";
|
|
3
|
+
import { BooleanProperty, ColorProperty, EnumProperty, ESJEditingBindModeType, ESJStrokeStyle, GroupProperty, NumberProperty } from "../../ESJTypes";
|
|
4
4
|
/**
|
|
5
5
|
* https://www.wolai.com/earthsdk/wAn2bN9HA2mo8uw56dPa76
|
|
6
6
|
*/
|
|
@@ -32,6 +32,7 @@ export declare class ESGeoLineString extends ESGeoVector {
|
|
|
32
32
|
get distance(): number;
|
|
33
33
|
get distanceChanged(): import("xbsj-base").Listener<[number, number]>;
|
|
34
34
|
static supportEditingModes: string[];
|
|
35
|
+
editingBindMode: ESJEditingBindModeType;
|
|
35
36
|
static defaults: {
|
|
36
37
|
strokeStyle: ESJStrokeStyle;
|
|
37
38
|
stroked: boolean;
|
|
@@ -48,7 +49,7 @@ export declare class ESGeoLineString extends ESGeoVector {
|
|
|
48
49
|
};
|
|
49
50
|
getESProperties(): {
|
|
50
51
|
coordinate: import("../../ESJTypes").Property[];
|
|
51
|
-
style: (GroupProperty |
|
|
52
|
+
style: (GroupProperty | EnumProperty<string> | NumberProperty | BooleanProperty | ColorProperty)[];
|
|
52
53
|
defaultMenu: string;
|
|
53
54
|
general: import("../../ESJTypes").Property[];
|
|
54
55
|
basic: import("../../ESJTypes").Property[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ESJFillStyle, ESJStrokeStyle } from "../../ESJTypes";
|
|
1
|
+
import { ESJEditingBindModeType, ESJFillStyle, ESJStrokeStyle } from "../../ESJTypes";
|
|
2
2
|
import { ESGeoVector } from "../base/ESGeoVector";
|
|
3
3
|
import { UniteChanged } from "xbsj-base";
|
|
4
4
|
export declare class ESGeoPolygon extends ESGeoVector {
|
|
@@ -26,6 +26,7 @@ export declare class ESGeoPolygon extends ESGeoVector {
|
|
|
26
26
|
toDestroyFuncStr: string | undefined;
|
|
27
27
|
};
|
|
28
28
|
static supportEditingModes: string[];
|
|
29
|
+
editingBindMode: ESJEditingBindModeType;
|
|
29
30
|
static defaults: {
|
|
30
31
|
fillStyle: ESJFillStyle;
|
|
31
32
|
strokeStyle: ESJStrokeStyle;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UniteChanged } from "xbsj-base";
|
|
2
2
|
import { ESGeoVector } from "../base";
|
|
3
|
-
import { ESJVector3DArray } from "../../ESJTypes";
|
|
3
|
+
import { ESJEditingBindModeType, ESJVector3DArray } from "../../ESJTypes";
|
|
4
4
|
/**
|
|
5
5
|
* https://www.wolai.com/earthsdk/pxKbJ5g7Sf59UJgqwZpyzc
|
|
6
6
|
*/
|
|
@@ -30,6 +30,7 @@ export declare class ESGeoRectangle extends ESGeoVector {
|
|
|
30
30
|
};
|
|
31
31
|
toPolygon(): ESJVector3DArray | undefined;
|
|
32
32
|
static supportEditingModes: string[];
|
|
33
|
+
editingBindMode: ESJEditingBindModeType;
|
|
33
34
|
_updateArea(): void;
|
|
34
35
|
_updatePerimeter(): void;
|
|
35
36
|
constructor(id?: string);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Event, SceneObjectKey, ReactivePropsToNativePropsAndChanged } from "xbsj-base";
|
|
2
2
|
import { ESObjectWithLocation } from "../base";
|
|
3
|
-
import { ESJColor, ESJMaterialType, ESJResource, ESJVector2D, ESJVector3D } from "../../ESJTypes";
|
|
3
|
+
import { ESJColor, ESJEnvironmentMapManagerType, ESJMaterialType, ESJResource, ESJVector2D, ESJVector3D } from "../../ESJTypes";
|
|
4
4
|
import { ESJInstances } from "../../ESJTypes/properties/ESJInstances";
|
|
5
5
|
type ModelNodeTransformation = {
|
|
6
6
|
translationX: number;
|
|
@@ -28,7 +28,11 @@ export declare class ESGltfModel extends ESObjectWithLocation {
|
|
|
28
28
|
allowPicking: boolean;
|
|
29
29
|
instances: import("xbsj-base").ReactiveVariable<ESJInstances | undefined>;
|
|
30
30
|
czmImageBasedLightingFactor: import("xbsj-base").ReactiveVariable<ESJVector2D>;
|
|
31
|
+
/**
|
|
32
|
+
* @deprecated 已弃用,请使用czmEnvironmentMapManager代替
|
|
33
|
+
*/
|
|
31
34
|
czmAtmosphereScatteringIntensity: number;
|
|
35
|
+
czmEnvironmentMapManager: import("xbsj-base").ReactiveVariable<ESJEnvironmentMapManagerType | undefined>;
|
|
32
36
|
position: import("xbsj-base").ReactiveVariable<ESJVector3D>;
|
|
33
37
|
rotation: import("xbsj-base").ReactiveVariable<ESJVector3D>;
|
|
34
38
|
scale: import("xbsj-base").ReactiveVariable<ESJVector3D>;
|
|
@@ -76,9 +80,18 @@ export declare class ESGltfModel extends ESObjectWithLocation {
|
|
|
76
80
|
private _printDebugInfoEvent;
|
|
77
81
|
get printDebugInfoEvent(): Event<[]>;
|
|
78
82
|
printDebugInfo(): void;
|
|
83
|
+
setMaterialInfoEvent: Event<[{
|
|
84
|
+
[xx: string]: any;
|
|
85
|
+
}]>;
|
|
79
86
|
private _setMaterialEvent;
|
|
80
87
|
get setMaterialEvent(): Event<["default" | ESJMaterialType]>;
|
|
81
|
-
setMaterial(options: ESJMaterialType | 'default'):
|
|
88
|
+
setMaterial(options: ESJMaterialType | 'default'): Promise<{
|
|
89
|
+
[xx: string]: any;
|
|
90
|
+
}>;
|
|
91
|
+
/**
|
|
92
|
+
* 仅Cesium引擎生效
|
|
93
|
+
*/
|
|
94
|
+
setLight122(): void;
|
|
82
95
|
static defaults: {
|
|
83
96
|
url: string;
|
|
84
97
|
instances: never[];
|
|
@@ -110,7 +123,11 @@ export declare namespace ESGltfModel {
|
|
|
110
123
|
allowPicking: boolean;
|
|
111
124
|
instances: import("xbsj-base").ReactiveVariable<ESJInstances | undefined>;
|
|
112
125
|
czmImageBasedLightingFactor: import("xbsj-base").ReactiveVariable<ESJVector2D>;
|
|
126
|
+
/**
|
|
127
|
+
* @deprecated 已弃用,请使用czmEnvironmentMapManager代替
|
|
128
|
+
*/
|
|
113
129
|
czmAtmosphereScatteringIntensity: number;
|
|
130
|
+
czmEnvironmentMapManager: import("xbsj-base").ReactiveVariable<ESJEnvironmentMapManagerType | undefined>;
|
|
114
131
|
position: import("xbsj-base").ReactiveVariable<ESJVector3D>;
|
|
115
132
|
rotation: import("xbsj-base").ReactiveVariable<ESJVector3D>;
|
|
116
133
|
scale: import("xbsj-base").ReactiveVariable<ESJVector3D>;
|
|
@@ -3,7 +3,6 @@ import { ESGeoExtrudedPolygon } from "./ESGeoExtrudedPolygon";
|
|
|
3
3
|
import { ESGeoPolygon } from "./ESGeoPolygon";
|
|
4
4
|
import { UniteChanged, JsonValue } from "xbsj-base";
|
|
5
5
|
import { ColorProperty, EnumProperty, BooleanProperty, GroupProperty, NumberProperty } from "../../ESJTypes";
|
|
6
|
-
import { ESSceneObject } from "../base";
|
|
7
6
|
/**
|
|
8
7
|
* https://c0yh9tnn0na.feishu.cn/docx/CKSfdDcwtoVPCtxgolkclEYZn9c
|
|
9
8
|
*/
|
|
@@ -37,17 +36,16 @@ export declare class ESHeightLimitAnalysis extends ESGeoPolygon {
|
|
|
37
36
|
};
|
|
38
37
|
get json(): JsonValue;
|
|
39
38
|
set json(value: JsonValue);
|
|
40
|
-
combinationClass: boolean;
|
|
41
|
-
getMainClass(): ESSceneObject | undefined;
|
|
42
39
|
static supportEditingModes: string[];
|
|
43
40
|
private _classification;
|
|
44
41
|
get classification(): ESClassification;
|
|
45
42
|
private _geoExtrudedPolygon;
|
|
46
43
|
get geoExtrudedPolygon(): ESGeoExtrudedPolygon;
|
|
44
|
+
combinationClass: boolean;
|
|
47
45
|
getESProperties(): {
|
|
48
46
|
defaultMenu: string;
|
|
49
47
|
basic: import("../../ESJTypes").Property[];
|
|
50
|
-
style: (GroupProperty |
|
|
48
|
+
style: (GroupProperty | EnumProperty<string> | NumberProperty | BooleanProperty | ColorProperty)[];
|
|
51
49
|
coordinate: import("../../ESJTypes").Property[];
|
|
52
50
|
general: import("../../ESJTypes").Property[];
|
|
53
51
|
dataSource: import("../../ESJTypes").Property[];
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { UniteChanged } from "xbsj-base";
|
|
2
2
|
import { ESGeoVector } from "../base";
|
|
3
|
+
import { ESJEditingBindModeType } from "../../ESJTypes";
|
|
3
4
|
/**
|
|
4
5
|
* https://www.wolai.com/earthsdk/8nkhuLbWJ44X4sV5hD5HPU
|
|
5
6
|
*/
|
|
@@ -28,6 +29,7 @@ export declare class ESHeightMeasurement extends ESGeoVector {
|
|
|
28
29
|
toDestroyFuncStr: string | undefined;
|
|
29
30
|
};
|
|
30
31
|
static supportEditingModes: string[];
|
|
32
|
+
editingBindMode: ESJEditingBindModeType;
|
|
31
33
|
constructor(id?: string);
|
|
32
34
|
static defaults: {
|
|
33
35
|
points: import("../../ESJTypes").ESJVector3DArray;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { UniteChanged } from "xbsj-base";
|
|
2
2
|
import { ESExcavate } from "./ESExcavate";
|
|
3
3
|
import { ESPit } from "./ESPit";
|
|
4
|
+
import { EnumProperty } from "../../ESJTypes";
|
|
4
5
|
/**
|
|
5
6
|
* https://www.wolai.com/earthsdk/ixfCjq4UjUqWy7SeVHnCnt
|
|
7
|
+
* https://c0yh9tnn0na.feishu.cn/wiki/Z7lKwk5jViMvAXkMKfpcd38mngD
|
|
6
8
|
*/
|
|
7
9
|
export declare class ESHole extends ESPit {
|
|
8
10
|
static readonly type: string;
|
|
9
11
|
get typeName(): string;
|
|
10
|
-
combinationClass: boolean;
|
|
11
|
-
getMainClass(): ESPit;
|
|
12
12
|
get defaultProps(): {
|
|
13
13
|
depth: number;
|
|
14
14
|
sideImage: import("xbsj-base").ReactiveVariable<import("./ESPit").ESJTexture>;
|
|
@@ -16,17 +16,17 @@ export declare class ESHole extends ESPit {
|
|
|
16
16
|
opacity: number;
|
|
17
17
|
interpolation: number;
|
|
18
18
|
pointed: boolean;
|
|
19
|
-
pointStyle: import("xbsj-base").ReactiveVariable<import("
|
|
19
|
+
pointStyle: import("xbsj-base").ReactiveVariable<import("../../ESJTypes").ESJPointStyle>;
|
|
20
20
|
stroked: boolean;
|
|
21
|
-
strokeStyle: import("xbsj-base").ReactiveVariable<import("
|
|
21
|
+
strokeStyle: import("xbsj-base").ReactiveVariable<import("../../ESJTypes").ESJStrokeStyle>;
|
|
22
22
|
filled: boolean;
|
|
23
|
-
fillStyle: import("xbsj-base").ReactiveVariable<import("
|
|
23
|
+
fillStyle: import("xbsj-base").ReactiveVariable<import("../../ESJTypes").ESJFillStyle>;
|
|
24
24
|
points: import("xbsj-base").ReactiveVariable<[number, number, number][] | undefined>;
|
|
25
25
|
show: boolean;
|
|
26
26
|
collision: boolean;
|
|
27
27
|
allowPicking: boolean;
|
|
28
|
-
flyToParam: import("xbsj-base").ReactiveVariable<import("
|
|
29
|
-
flyInParam: import("xbsj-base").ReactiveVariable<import("
|
|
28
|
+
flyToParam: import("xbsj-base").ReactiveVariable<import("../../ESJTypes").ESJFlyToParam | undefined>;
|
|
29
|
+
flyInParam: import("xbsj-base").ReactiveVariable<import("../../ESJTypes").ESJFlyInParam | undefined>;
|
|
30
30
|
name: string;
|
|
31
31
|
ref: string | undefined;
|
|
32
32
|
extras: import("xbsj-base").ReactiveVariable<import("xbsj-base").JsonValue>;
|
|
@@ -40,7 +40,17 @@ export declare class ESHole extends ESPit {
|
|
|
40
40
|
private _excavate;
|
|
41
41
|
get excavate(): ESExcavate;
|
|
42
42
|
private _pit;
|
|
43
|
+
combinationClass: boolean;
|
|
43
44
|
constructor(id?: string);
|
|
45
|
+
getESProperties(): {
|
|
46
|
+
basic: import("../../ESJTypes").Property[];
|
|
47
|
+
style: (import("../../ESJTypes").GroupProperty | EnumProperty<string> | import("../../ESJTypes").NumberProperty | import("../../ESJTypes").BooleanProperty | import("../../ESJTypes").ColorProperty)[];
|
|
48
|
+
coordinate: import("../../ESJTypes").Property[];
|
|
49
|
+
defaultMenu: string;
|
|
50
|
+
general: import("../../ESJTypes").Property[];
|
|
51
|
+
dataSource: import("../../ESJTypes").Property[];
|
|
52
|
+
location: import("../../ESJTypes").Property[];
|
|
53
|
+
};
|
|
44
54
|
}
|
|
45
55
|
export declare namespace ESHole {
|
|
46
56
|
const createDefaultProps: () => {
|
|
@@ -50,17 +60,17 @@ export declare namespace ESHole {
|
|
|
50
60
|
opacity: number;
|
|
51
61
|
interpolation: number;
|
|
52
62
|
pointed: boolean;
|
|
53
|
-
pointStyle: import("xbsj-base").ReactiveVariable<import("
|
|
63
|
+
pointStyle: import("xbsj-base").ReactiveVariable<import("../../ESJTypes").ESJPointStyle>;
|
|
54
64
|
stroked: boolean;
|
|
55
|
-
strokeStyle: import("xbsj-base").ReactiveVariable<import("
|
|
65
|
+
strokeStyle: import("xbsj-base").ReactiveVariable<import("../../ESJTypes").ESJStrokeStyle>;
|
|
56
66
|
filled: boolean;
|
|
57
|
-
fillStyle: import("xbsj-base").ReactiveVariable<import("
|
|
67
|
+
fillStyle: import("xbsj-base").ReactiveVariable<import("../../ESJTypes").ESJFillStyle>;
|
|
58
68
|
points: import("xbsj-base").ReactiveVariable<[number, number, number][] | undefined>;
|
|
59
69
|
show: boolean;
|
|
60
70
|
collision: boolean;
|
|
61
71
|
allowPicking: boolean;
|
|
62
|
-
flyToParam: import("xbsj-base").ReactiveVariable<import("
|
|
63
|
-
flyInParam: import("xbsj-base").ReactiveVariable<import("
|
|
72
|
+
flyToParam: import("xbsj-base").ReactiveVariable<import("../../ESJTypes").ESJFlyToParam | undefined>;
|
|
73
|
+
flyInParam: import("xbsj-base").ReactiveVariable<import("../../ESJTypes").ESJFlyInParam | undefined>;
|
|
64
74
|
name: string;
|
|
65
75
|
ref: string | undefined;
|
|
66
76
|
extras: import("xbsj-base").ReactiveVariable<import("xbsj-base").JsonValue>;
|