@soonspacejs/plugin-cps-soonmanager 2.15.16 → 2.15.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/index.esm.js CHANGED
@@ -24792,6 +24792,8 @@ function gisPlotToAddOptions(v) {
24792
24792
  const E = plotTypeToCategory[_];
24793
24793
  if (!E) return null;
24794
24794
  const x = flatCoordinatesToPoints(v.geometry?.coordinates), A = v.visible !== !1, T = {
24795
+ id: v.id,
24796
+ extraIds: [v.sid],
24795
24797
  ...e,
24796
24798
  points: x,
24797
24799
  visible: A,
@@ -24842,7 +24844,8 @@ function gisPlotToAddOptions(v) {
24842
24844
  case "text": {
24843
24845
  M = { type: "text", ...{
24844
24846
  ...T,
24845
- layoutDirection: e.textLayout
24847
+ layoutDirection: e.textLayout,
24848
+ rotation: e.rotation ?? 0
24846
24849
  } };
24847
24850
  break;
24848
24851
  }
@@ -44557,7 +44560,9 @@ class CpsSoonmanagerPlugin extends EventDispatcher {
44557
44560
  T.sort((R, q) => R.order - q.order);
44558
44561
  const B = T.findLast((R) => R.url && R.visible === !0);
44559
44562
  if (B) {
44560
- if (this.terrainTilesRenderer = new TerrainTilesRenderer(this.ssp), M && (M.sort((C, D) => C.order - D.order), M.forEach((C) => {
44563
+ if (this.terrainTilesRenderer = new TerrainTilesRenderer(this.ssp, {
44564
+ imageryUrl: !1
44565
+ }), M && (M.sort((C, D) => C.order - D.order), M.forEach((C) => {
44561
44566
  let D = OverlayType.XYZ;
44562
44567
  C.imageryType === "TMS" ? D = OverlayType.TMS : C.imageryType === "WMTS" && (D = OverlayType.WMTS), this.terrainTilesRenderer.addOverlay({
44563
44568
  id: C.id,
@@ -44624,7 +44629,7 @@ class CpsSoonmanagerPlugin extends EventDispatcher {
44624
44629
  E.longitude,
44625
44630
  E.latitude,
44626
44631
  E.altitude
44627
- ), this.terrainTilesRenderer.setOverlayVisible(this.terrainTilesRenderer.defaultImageryId, !1);
44632
+ );
44628
44633
  const R = await this.fetchGisPlotsData().catch(() => []), q = this.terrainTilesRenderer.groundDecalManager;
44629
44634
  if (q && R && R.length)
44630
44635
  for (const C of R) {
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.16",
4
+ "version": "2.15.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",
@@ -37,14 +37,14 @@
37
37
  "socket.io-client": "^4.7.2"
38
38
  },
39
39
  "peerDependencies": {
40
- "@soonspacejs/plugin-atmosphere": "2.15.16",
41
- "@soonspacejs/plugin-effect": "2.15.16",
42
- "@soonspacejs/plugin-flow": "2.15.16",
43
- "@soonspacejs/plugin-gs3d-loader": "2.15.16",
44
- "@soonspacejs/plugin-poi-renderer": "2.15.16",
45
- "@soonspacejs/plugin-tiles": "2.15.16",
46
- "soonspacejs": "2.15.16",
40
+ "@soonspacejs/plugin-atmosphere": "2.15.17",
41
+ "@soonspacejs/plugin-effect": "2.15.17",
42
+ "@soonspacejs/plugin-flow": "2.15.17",
43
+ "@soonspacejs/plugin-gs3d-loader": "2.15.17",
44
+ "@soonspacejs/plugin-poi-renderer": "2.15.17",
45
+ "@soonspacejs/plugin-tiles": "2.15.17",
46
+ "soonspacejs": "2.15.17",
47
47
  "umanager-animation-parser": "^0.0.6",
48
- "@soonspacejs/plugin-fds": "2.15.16"
48
+ "@soonspacejs/plugin-fds": "2.15.17"
49
49
  }
50
50
  }