How to use the geotiff/src/main.Pool function in geotiff

To help you get started, we’ve selected a few geotiff examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github geotiffjs / cog-explorer / src / components / mapview.jsx View on Github external
maxZoom: 23,
      }),
    });
    this.sceneLayers = {};
    this.sceneSources = {};
    this.tileCache = {};
    this.renderedTileCache = {};

    this.progressBar = new ProgressBar();

    this.map.on('moveend', () => {
      const view = this.map.getView();
      this.props.setPosition(...view.getCenter(), view.getZoom());
    });

    this.pool = new Pool();
  }