@deck.gl/geo-layers 8.6.8 → 8.6.9

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
@@ -2,7 +2,7 @@
2
2
  "name": "@deck.gl/geo-layers",
3
3
  "description": "deck.gl layers supporting geospatial use cases and GIS formats",
4
4
  "license": "MIT",
5
- "version": "8.6.8",
5
+ "version": "8.6.9",
6
6
  "publishConfig": {
7
7
  "access": "public"
8
8
  },
@@ -49,5 +49,5 @@
49
49
  "@deck.gl/mesh-layers": "^8.0.0",
50
50
  "@loaders.gl/core": "^3.0.0"
51
51
  },
52
- "gitHead": "5a252f2cb2de10ceeb20a0ecf353034de5366e65"
52
+ "gitHead": "66cf53bc771d97aeb2d09b114f0bc53ece947d63"
53
53
  }
@@ -33,13 +33,13 @@ export const urlType = {
33
33
  function transformBox(bbox, modelMatrix) {
34
34
  const transformedCoords = [
35
35
  // top-left
36
- modelMatrix.transformPoint([bbox[0], bbox[1]]),
36
+ modelMatrix.transformAsPoint([bbox[0], bbox[1]]),
37
37
  // top-right
38
- modelMatrix.transformPoint([bbox[2], bbox[1]]),
38
+ modelMatrix.transformAsPoint([bbox[2], bbox[1]]),
39
39
  // bottom-left
40
- modelMatrix.transformPoint([bbox[0], bbox[3]]),
40
+ modelMatrix.transformAsPoint([bbox[0], bbox[3]]),
41
41
  // bottom-right
42
- modelMatrix.transformPoint([bbox[2], bbox[3]])
42
+ modelMatrix.transformAsPoint([bbox[2], bbox[3]])
43
43
  ];
44
44
  const transformedBox = [
45
45
  // Minimum x coord