@gisatcz/deckgl-geolib 1.10.2-dev.7 → 1.11.0-dev.0

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/cjs/index.js CHANGED
@@ -4,7 +4,6 @@ var core = require('@deck.gl/core');
4
4
  var geoLayers = require('@deck.gl/geo-layers');
5
5
  var layers = require('@deck.gl/layers');
6
6
  var extensions = require('@deck.gl/extensions');
7
- var constants$3 = require('@luma.gl/constants');
8
7
  var chroma = require('chroma-js');
9
8
  var schema = require('@loaders.gl/schema');
10
9
  var loaderUtils = require('@loaders.gl/loader-utils');
@@ -15520,7 +15519,8 @@ class CogBitmapLayer extends core.CompositeLayer {
15520
15519
  var _a, _b, _c, _d, _e, _f, _g;
15521
15520
  const { bbox: { west, south, east, north, }, } = props.tile;
15522
15521
  return new layers.BitmapLayer(props, Object.assign({ data: null, image: props.data, bounds: [west, south, east, north], opacity: 1, textureParameters: {
15523
- [constants$3.GL.TEXTURE_MIN_FILTER]: this.blurredTexture ? constants$3.GL.LINEAR : constants$3.GL.NEAREST,
15522
+ minFilter: this.blurredTexture ? 'linear' : 'nearest',
15523
+ magFilter: this.blurredTexture ? 'linear' : 'nearest',
15524
15524
  }, extensions: ((_b = (_a = this.cogTiles) === null || _a === void 0 ? void 0 : _a.options) === null || _b === void 0 ? void 0 : _b.clampToTerrain) ? [new extensions._TerrainExtension()] : [] }, (((_e = (_d = (_c = this.cogTiles) === null || _c === void 0 ? void 0 : _c.options) === null || _d === void 0 ? void 0 : _d.clampToTerrain) === null || _e === void 0 ? void 0 : _e.terrainDrawMode)
15525
15525
  ? { terrainDrawMode: (_g = (_f = this.cogTiles) === null || _f === void 0 ? void 0 : _f.options) === null || _g === void 0 ? void 0 : _g.clampToTerrain.terrainDrawMode }
15526
15526
  : {})));