@deck.gl/carto 9.0.15 → 9.0.16

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
@@ -3,7 +3,7 @@
3
3
  "description": "CARTO official integration with Deck.gl. Build geospatial applications using CARTO and Deck.gl.",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
- "version": "9.0.15",
6
+ "version": "9.0.16",
7
7
  "publishConfig": {
8
8
  "access": "public"
9
9
  },
@@ -73,5 +73,5 @@
73
73
  "@deck.gl/layers": "^9.0.0",
74
74
  "@loaders.gl/core": "^4.2.0"
75
75
  },
76
- "gitHead": "4eecc3c070efa04baecc83b3d5f4ddacb4ba147c"
76
+ "gitHead": "87e1629767fae5167a43dc9fa04786a16879f7aa"
77
77
  }
@@ -22,7 +22,7 @@ class RTTSolidPolygonLayer extends RTTModifier(SolidPolygonLayer) {
22
22
  float value = 255.0 * dot(SHIFT, color.rgb);
23
23
 
24
24
  // Keep "power" delivered to screen constant when tiles update
25
- float relativeZoom = log2(project.scale) - cellResolution + 3.5; // range 0-1
25
+ float relativeZoom = log2(project_uScale) - cellResolution + 3.5; // range 0-1
26
26
  float relativeArea = pow(2.0, -2.0 * relativeZoom); // range 0.25-1
27
27
  value *= relativeArea;
28
28