@soonspacejs/plugin-cps-soonmanager 2.14.31 → 2.14.32
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/index.d.ts +1 -1
- package/dist/index.esm.js +5 -5
- package/package.json +8 -8
package/dist/index.d.ts
CHANGED
|
@@ -76,7 +76,7 @@ declare class CpsSoonmanagerPlugin extends EventDispatcher<IProgressEventMap> {
|
|
|
76
76
|
* atomsphere 插件
|
|
77
77
|
*/
|
|
78
78
|
atmospherePlugin: AtmospherePlugin;
|
|
79
|
-
terrainTilesRenderer: TerrainTilesRenderer;
|
|
79
|
+
terrainTilesRenderer: TerrainTilesRenderer | undefined;
|
|
80
80
|
/**
|
|
81
81
|
* 流程引擎实咧
|
|
82
82
|
*/
|
package/dist/index.esm.js
CHANGED
|
@@ -42487,7 +42487,7 @@ const { groupBy, warn, getExtension } = SoonSpace.utils, defaultLoadSceneOptions
|
|
|
42487
42487
|
};
|
|
42488
42488
|
class CpsSoonmanagerPlugin extends EventDispatcher {
|
|
42489
42489
|
constructor(e, _) {
|
|
42490
|
-
super(), this.ssp = e, this.effectPlugin = new EffectPlugin(this.ssp), this.atmospherePlugin = new AtmospherePlugin(this.ssp), this.
|
|
42490
|
+
super(), this.ssp = e, this.effectPlugin = new EffectPlugin(this.ssp), this.atmospherePlugin = new AtmospherePlugin(this.ssp), this.soonflow = new d$1(N, {
|
|
42491
42491
|
ssp: this.ssp,
|
|
42492
42492
|
cpsManager: this
|
|
42493
42493
|
}), this.#y = new WaterMark(this.ssp.viewport), _?.key && this.setKey(_.key), _?.path && this.setPath(_.path);
|
|
@@ -43155,7 +43155,7 @@ class CpsSoonmanagerPlugin extends EventDispatcher {
|
|
|
43155
43155
|
}, { gisSettings: A, version: R } = await this.fetchMetaData();
|
|
43156
43156
|
if (A) {
|
|
43157
43157
|
if (R <= 1.5 && A.enabled)
|
|
43158
|
-
this.terrainTilesRenderer.enable(), this.terrainTilesRenderer.invalidate(
|
|
43158
|
+
this.terrainTilesRenderer = new TerrainTilesRenderer(this.ssp), this.terrainTilesRenderer.enable(), this.terrainTilesRenderer.invalidate(
|
|
43159
43159
|
A.longitude,
|
|
43160
43160
|
A.latitude,
|
|
43161
43161
|
A.altitude
|
|
@@ -43165,7 +43165,7 @@ class CpsSoonmanagerPlugin extends EventDispatcher {
|
|
|
43165
43165
|
if (!T || !T.length) return;
|
|
43166
43166
|
T.sort((x, M) => x.order - M.order);
|
|
43167
43167
|
const B = T.findLast((x) => x.url && x.visible === !0);
|
|
43168
|
-
B
|
|
43168
|
+
B && (this.terrainTilesRenderer = new TerrainTilesRenderer(this.ssp), q && (q.sort((x, M) => x.order - M.order), q.forEach((x) => {
|
|
43169
43169
|
x.imageryType === "TMS" || x.imageryType === "WMTS" ? this.terrainTilesRenderer.addUrlTemplateOverlay({
|
|
43170
43170
|
id: x.id,
|
|
43171
43171
|
url: x.url,
|
|
@@ -43193,7 +43193,7 @@ class CpsSoonmanagerPlugin extends EventDispatcher {
|
|
|
43193
43193
|
id: B.id,
|
|
43194
43194
|
url: B.url,
|
|
43195
43195
|
type: TerrainType.QUANTIZED_MESH
|
|
43196
|
-
})
|
|
43196
|
+
}), this.terrainTilesRenderer.enable(), this.terrainTilesRenderer.setOverlayVisible(this.terrainTilesRenderer.defaultImageryId, !1));
|
|
43197
43197
|
}
|
|
43198
43198
|
}
|
|
43199
43199
|
}
|
|
@@ -43443,7 +43443,7 @@ class CpsSoonmanagerPlugin extends EventDispatcher {
|
|
|
43443
43443
|
}), _;
|
|
43444
43444
|
}
|
|
43445
43445
|
dispose() {
|
|
43446
|
-
this.sceneGroup && (this.ssp.removeObject(this.sceneGroup), this.sceneGroup = null), this.atmospherePlugin.dispose(), this.terrainTilesRenderer
|
|
43446
|
+
this.sceneGroup && (this.ssp.removeObject(this.sceneGroup), this.sceneGroup = null), this.atmospherePlugin.dispose(), this.terrainTilesRenderer?.dispose();
|
|
43447
43447
|
}
|
|
43448
43448
|
}
|
|
43449
43449
|
export {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@soonspacejs/plugin-cps-soonmanager",
|
|
3
3
|
"pluginName": "CpsSoonmanagerPlugin",
|
|
4
|
-
"version": "2.14.
|
|
4
|
+
"version": "2.14.32",
|
|
5
5
|
"description": "Sync cps soonmanager data plugin for SoonSpace.js",
|
|
6
6
|
"main": "dist/index.esm.js",
|
|
7
7
|
"module": "dist/index.esm.js",
|
|
@@ -35,13 +35,13 @@
|
|
|
35
35
|
"socket.io-client": "^4.7.2"
|
|
36
36
|
},
|
|
37
37
|
"peerDependencies": {
|
|
38
|
-
"@soonspacejs/plugin-atmosphere": "2.14.
|
|
39
|
-
"@soonspacejs/plugin-effect": "2.14.
|
|
40
|
-
"@soonspacejs/plugin-flow": "2.14.
|
|
41
|
-
"@soonspacejs/plugin-gs3d-loader": "2.14.
|
|
42
|
-
"@soonspacejs/plugin-poi-renderer": "2.14.
|
|
43
|
-
"@soonspacejs/plugin-tiles": "2.14.
|
|
44
|
-
"soonspacejs": "2.14.
|
|
38
|
+
"@soonspacejs/plugin-atmosphere": "2.14.32",
|
|
39
|
+
"@soonspacejs/plugin-effect": "2.14.32",
|
|
40
|
+
"@soonspacejs/plugin-flow": "2.14.32",
|
|
41
|
+
"@soonspacejs/plugin-gs3d-loader": "2.14.32",
|
|
42
|
+
"@soonspacejs/plugin-poi-renderer": "2.14.32",
|
|
43
|
+
"@soonspacejs/plugin-tiles": "2.14.32",
|
|
44
|
+
"soonspacejs": "2.14.32",
|
|
45
45
|
"umanager-animation-parser": "^0.0.6"
|
|
46
46
|
}
|
|
47
47
|
}
|