@soonspacejs/plugin-cps-soonmanager 2.13.15 → 2.13.17
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/data-source/utils/socket.d.ts +1 -1
- package/dist/index.d.ts +7 -0
- package/dist/index.esm.js +4 -4
- package/dist/tiles-renderer/ArcgisTilesRenderer.d.ts +21 -0
- package/dist/tiles-renderer/ArcgisXYZTilesPlugin.d.ts +6 -0
- package/dist/tiles-renderer/index.d.ts +1 -0
- package/dist/types.d.ts +7 -0
- package/package.json +8 -7
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import SoonSpace from 'soonspacejs';
|
|
2
|
+
import { TilesRenderer } from '3d-tiles-renderer';
|
|
3
|
+
import { TilesFadePlugin, UpdateOnChangePlugin, ReorientationPlugin } from '3d-tiles-renderer/plugins';
|
|
4
|
+
import { ArcgisXYZTilesPlugin } from './ArcgisXYZTilesPlugin';
|
|
5
|
+
declare class ArcgisTilesRenderer {
|
|
6
|
+
readonly ssp: SoonSpace;
|
|
7
|
+
tiles: TilesRenderer;
|
|
8
|
+
tilesFadePlugin: TilesFadePlugin;
|
|
9
|
+
updateOnChangePlugin: UpdateOnChangePlugin;
|
|
10
|
+
xyzTilesPlugin: ArcgisXYZTilesPlugin;
|
|
11
|
+
reorientationPlugin: ReorientationPlugin;
|
|
12
|
+
loedTilesSets: Set<() => void>;
|
|
13
|
+
constructor(ssp: SoonSpace);
|
|
14
|
+
render: () => void;
|
|
15
|
+
beforeRenderHandler: () => void;
|
|
16
|
+
enable(): void;
|
|
17
|
+
disable(): void;
|
|
18
|
+
invalidate(lon: number, lat: number, alt: number): () => void;
|
|
19
|
+
dispose(): void;
|
|
20
|
+
}
|
|
21
|
+
export { ArcgisTilesRenderer, };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { ArcgisTilesRenderer, } from './ArcgisTilesRenderer';
|
package/dist/types.d.ts
CHANGED
|
@@ -5,6 +5,12 @@ export type BaseTreeNode<T> = T & {
|
|
|
5
5
|
sid: string;
|
|
6
6
|
children: BaseTreeNode<T>[] | null;
|
|
7
7
|
};
|
|
8
|
+
export interface IGisSettings {
|
|
9
|
+
enabled: boolean;
|
|
10
|
+
longitude: number;
|
|
11
|
+
latitude: number;
|
|
12
|
+
altitude: number;
|
|
13
|
+
}
|
|
8
14
|
/**
|
|
9
15
|
* 场景元数据
|
|
10
16
|
*/
|
|
@@ -21,6 +27,7 @@ export interface IMetadata {
|
|
|
21
27
|
exportTime: number;
|
|
22
28
|
environment?: string;
|
|
23
29
|
previewSettings?: string;
|
|
30
|
+
gisSettings?: IGisSettings;
|
|
24
31
|
}
|
|
25
32
|
/**
|
|
26
33
|
* 场景树
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@soonspacejs/plugin-cps-soonmanager",
|
|
3
3
|
"pluginName": "CpsSoonmanagerPlugin",
|
|
4
|
-
"version": "2.13.
|
|
4
|
+
"version": "2.13.17",
|
|
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",
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
],
|
|
14
14
|
"author": "xunwei",
|
|
15
15
|
"license": "UNLICENSED",
|
|
16
|
-
"gitHead": "
|
|
16
|
+
"gitHead": "8afa5fda9a0ef2c080060e7d8e71a8bf168fd4d2",
|
|
17
17
|
"dependencyPlugins": [
|
|
18
18
|
"plugin-poi-renderer",
|
|
19
19
|
"plugin-effect",
|
|
@@ -33,11 +33,12 @@
|
|
|
33
33
|
"socket.io-client": "^4.7.2"
|
|
34
34
|
},
|
|
35
35
|
"peerDependencies": {
|
|
36
|
-
"
|
|
37
|
-
"@soonspacejs/plugin-
|
|
38
|
-
"@soonspacejs/plugin-
|
|
39
|
-
"@soonspacejs/plugin-
|
|
40
|
-
"soonspacejs": "2.13.
|
|
36
|
+
"3d-tiles-renderer": "^0.4.14",
|
|
37
|
+
"@soonspacejs/plugin-atmosphere": "2.13.17",
|
|
38
|
+
"@soonspacejs/plugin-effect": "2.13.17",
|
|
39
|
+
"@soonspacejs/plugin-gs3d-loader": "2.13.17",
|
|
40
|
+
"@soonspacejs/plugin-poi-renderer": "2.13.17",
|
|
41
|
+
"soonspacejs": "2.13.17",
|
|
41
42
|
"umanager-animation-parser": "^0.0.6"
|
|
42
43
|
}
|
|
43
44
|
}
|