@pirireis/webglobeplugins 1.4.2 → 1.4.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pirireis/webglobeplugins",
3
- "version": "1.4.2",
3
+ "version": "1.4.4",
4
4
  "main": "index.js",
5
5
  "author": "Toprak Nihat Deniz Ozturk",
6
6
  "license": "MIT",
@@ -174,7 +174,6 @@ export class DemTextureManager {
174
174
  for (const obj of this.registry) {
175
175
  obj.setMergedTiles(this.mergedData);
176
176
  }
177
- console.log("DEM Texture Manager updated with new merged tiles data");
178
177
  }
179
178
  bindData(textureUnit, bindingPoint) {
180
179
  const gl = this._globe.gl;
@@ -268,9 +267,3 @@ export const DemTextureManagerCache = Object.freeze({
268
267
  noRegisterGlobeProgramCache.releaseProgram(globe, DemTextureManager);
269
268
  }
270
269
  });
271
- // // declare demManager window global
272
- // declare global {
273
- // interface Window {
274
- // demManager: DemTextureManager;
275
- // }
276
- // }
@@ -201,7 +201,7 @@ class PointTracksPlugin {
201
201
  flush() {
202
202
  const capacity = 100;
203
203
  this._bufferOrchestrator?.flush({ capacity });
204
- this._StorageManagersMap.forEach(({ bufferManager }) => bufferManager.free());
204
+ this._StorageManagersMap.forEach(({ bufferManager }) => bufferManager.resetWithCapacity(capacity));
205
205
  this._turnOffFocus();
206
206
  this._tracksToPointsMap.clear();
207
207
  this.globe?.DrawRender();