@soonspacejs/plugin-cps-soonmanager 2.15.2 → 2.15.4
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.esm.js +9 -5
- package/package.json +9 -9
- package/dist/index.esm.js.map +0 -1
package/dist/index.esm.js
CHANGED
|
@@ -43506,10 +43506,15 @@ class CpsSoonmanagerPlugin extends EventDispatcher {
|
|
|
43506
43506
|
const B = T.findLast((x) => x.url && x.visible === !0);
|
|
43507
43507
|
if (B) {
|
|
43508
43508
|
this.terrainTilesRenderer = new TerrainTilesRenderer(this.ssp), q && (q.sort((C, k) => C.order - k.order), q.forEach((C) => {
|
|
43509
|
-
|
|
43510
|
-
|
|
43509
|
+
C.imageryType === "TMS" || C.imageryType === "WMTS" ? this.terrainTilesRenderer.addOverlay({
|
|
43510
|
+
type: OverlayType.URL_TEMPLATE,
|
|
43511
|
+
id: C.id,
|
|
43512
|
+
url: C.url,
|
|
43513
|
+
opacity: C.visible ? 1 : 0,
|
|
43514
|
+
order: C.order
|
|
43515
|
+
}) : this.terrainTilesRenderer.addOverlay({
|
|
43516
|
+
type: OverlayType.XYZ,
|
|
43511
43517
|
id: C.id,
|
|
43512
|
-
type: k,
|
|
43513
43518
|
url: C.url,
|
|
43514
43519
|
opacity: C.visible ? 1 : 0,
|
|
43515
43520
|
order: C.order
|
|
@@ -43517,8 +43522,8 @@ class CpsSoonmanagerPlugin extends EventDispatcher {
|
|
|
43517
43522
|
})), P && (P.sort((C, k) => C.order - k.order), P.forEach((C) => {
|
|
43518
43523
|
const k = _(C.content);
|
|
43519
43524
|
this.terrainTilesRenderer.addOverlay({
|
|
43520
|
-
id: C.id,
|
|
43521
43525
|
type: OverlayType.GEOJSON,
|
|
43526
|
+
id: C.id,
|
|
43522
43527
|
url: k.url ? this.#d(k.url) : void 0,
|
|
43523
43528
|
geojson: k.geojson,
|
|
43524
43529
|
strokeStyle: C.lineColor || "#5B8FF9",
|
|
@@ -43819,4 +43824,3 @@ export {
|
|
|
43819
43824
|
TREE_DATA_FILE_PATH,
|
|
43820
43825
|
CpsSoonmanagerPlugin as default
|
|
43821
43826
|
};
|
|
43822
|
-
//# sourceMappingURL=index.esm.js.map
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@soonspacejs/plugin-cps-soonmanager",
|
|
3
3
|
"pluginName": "CpsSoonmanagerPlugin",
|
|
4
|
-
"version": "2.15.
|
|
4
|
+
"version": "2.15.4",
|
|
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",
|
|
@@ -37,14 +37,14 @@
|
|
|
37
37
|
"socket.io-client": "^4.7.2"
|
|
38
38
|
},
|
|
39
39
|
"peerDependencies": {
|
|
40
|
-
"@soonspacejs/plugin-atmosphere": "2.15.
|
|
41
|
-
"@soonspacejs/plugin-effect": "2.15.
|
|
42
|
-
"@soonspacejs/plugin-flow": "2.15.
|
|
43
|
-
"@soonspacejs/plugin-gs3d-loader": "2.15.
|
|
44
|
-
"@soonspacejs/plugin-poi-renderer": "2.15.
|
|
45
|
-
"@soonspacejs/plugin-tiles": "2.15.
|
|
46
|
-
"soonspacejs": "2.15.
|
|
40
|
+
"@soonspacejs/plugin-atmosphere": "2.15.4",
|
|
41
|
+
"@soonspacejs/plugin-effect": "2.15.4",
|
|
42
|
+
"@soonspacejs/plugin-flow": "2.15.4",
|
|
43
|
+
"@soonspacejs/plugin-gs3d-loader": "2.15.4",
|
|
44
|
+
"@soonspacejs/plugin-poi-renderer": "2.15.4",
|
|
45
|
+
"@soonspacejs/plugin-tiles": "2.15.4",
|
|
46
|
+
"soonspacejs": "2.15.4",
|
|
47
47
|
"umanager-animation-parser": "^0.0.6",
|
|
48
|
-
"@soonspacejs/plugin-fds": "2.15.
|
|
48
|
+
"@soonspacejs/plugin-fds": "2.15.4"
|
|
49
49
|
}
|
|
50
50
|
}
|