@soonspacejs/plugin-tiles 2.16.5 → 2.16.7

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
@@ -37,7 +37,6 @@ class pr {
37
37
  }), this._tilesCamera = e.viewport.camera;
38
38
  });
39
39
  }
40
- ssp;
41
40
  tilesMap = /* @__PURE__ */ new Map();
42
41
  needsUpdate = !0;
43
42
  cameraTransitionStart = !1;
@@ -100,7 +99,6 @@ class yr {
100
99
  height: 0.1
101
100
  }), this.tiles.registerPlugin(this.tilesFadePlugin), this.tiles.registerPlugin(this.updateOnChangePlugin), this.tiles.registerPlugin(this.quantizedPlugin), this.tiles.registerPlugin(this.customMaterialPlugin), this.tiles.registerPlugin(this.imageOverlayPlugin), this.tiles.registerPlugin(this.reorientationPlugin), this.tiles.maxDepth = 20, this.tiles.errorTarget = 1, this.tiles.addEventListener("needs-render", this.render), this.tiles.addEventListener("needs-update", this.render);
102
101
  }
103
- ssp;
104
102
  tiles;
105
103
  tilesFadePlugin;
106
104
  updateOnChangePlugin;
@@ -191,8 +189,6 @@ class B {
191
189
  constructor(e, t) {
192
190
  this.imageOverlayPlugin = e, this.resourceManager = t;
193
191
  }
194
- imageOverlayPlugin;
195
- resourceManager;
196
192
  /** 存储所有 overlay 实例 */
197
193
  static MAX_OVERLAY_INSTANCES = 10;
198
194
  _instances = /* @__PURE__ */ new Map();
@@ -2472,7 +2468,6 @@ class vr {
2472
2468
  url: r
2473
2469
  }, this.terrainManager.add(this._currentTerrainConfig), this.terrainManager.setCurrentId(this._currentTerrainConfig.id), this.tiles = this._initTilesRenderer(this._currentTerrainConfig), this._initPlugins(this.tiles, this._currentTerrainConfig);
2474
2470
  }
2475
- ssp;
2476
2471
  defaultTerrainId = "__default_terrain__";
2477
2472
  defaultImageryId = "__default_imagery__";
2478
2473
  tiles;
@@ -2992,7 +2987,6 @@ class tr {
2992
2987
  constructor(e, t) {
2993
2988
  this.ssp = e, this.options = t, "url" in this.options ? this.tiles = new E(this.options.url) : (this.tiles = new E(), this._initCesiumIon(this.options)), this._initBasePlugins(this.options);
2994
2989
  }
2995
- ssp;
2996
2990
  tiles;
2997
2991
  tilesFadePlugin;
2998
2992
  updateOnChangePlugin;
@@ -3209,7 +3203,6 @@ class wr {
3209
3203
  this.cameraTransitionStart = !1, this.needsUpdate = !0, r.state.useFreq = 60;
3210
3204
  }), e.signals.beforeRender.add(this._beforeRenderHandler), e.signals.cameraObjectChange.add(this._onCameraObjectChange);
3211
3205
  }
3212
- ssp;
3213
3206
  /** 存储多个 tiles 实例,key 为 url */
3214
3207
  tilesMap = /* @__PURE__ */ new Map();
3215
3208
  /** 按需渲染标志 */
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@soonspacejs/plugin-tiles",
3
3
  "pluginName": "TilesPlugin",
4
- "version": "2.16.5",
4
+ "version": "2.16.7",
5
5
  "description": "3D Tiles plugin for SoonSpace.js",
6
6
  "main": "dist/index.esm.js",
7
7
  "module": "dist/index.esm.js",
@@ -22,6 +22,6 @@
22
22
  "three": "^0.185.0",
23
23
  "@mapbox/geojson-merge": "^1.1.1",
24
24
  "cesium-to-three": "0.2.4",
25
- "soonspacejs": "2.16.5"
25
+ "soonspacejs": "2.16.7"
26
26
  }
27
27
  }