@gisatcz/deckgl-geolib 2.6.0 → 2.7.0-dev.1

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.
@@ -33,6 +33,12 @@ type _CogBitmapLayerProps = {
33
33
  isTiled: boolean;
34
34
  /** Pre-initialized CogTiles object */
35
35
  cogTiles?: CogTiles;
36
+ /**
37
+ * Elevation bounds [minZ, maxZ] from the terrain layer.
38
+ * Required for proper 3D frustum culling when the bitmap is draped on terrain.
39
+ * Sync via `CogTerrainLayer.onZRangeUpdate` or the `useTerrainZRange()` hook.
40
+ */
41
+ zRange?: ZRange | null;
36
42
  /**
37
43
  * @deprecated Use `loadOptions.terrain.workerUrl` instead
38
44
  */
@@ -77,6 +77,11 @@ type _CogTerrainLayerProps = {
77
77
  * Used to sync overlay TileLayer zRange for proper 3D frustum culling.
78
78
  */
79
79
  onZRangeUpdate?: (zRange: ZRange | null) => void;
80
+ /**
81
+ * Dynamic scale factor applied to the Z-axis of the terrain mesh.
82
+ * Animate from 0 to 1 to smoothly extrude terrain, or 1 to 0 to flatten.
83
+ */
84
+ elevationScale?: number;
80
85
  /**
81
86
  * @deprecated Use `loadOptions.terrain.workerUrl` instead
82
87
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gisatcz/deckgl-geolib",
3
- "version": "2.6.0",
3
+ "version": "2.7.0-dev.1",
4
4
  "description": "Deck.gl extension for rendering Cloud-Optimized GeoTIFF (COG) data",
5
5
  "keywords": [
6
6
  "deck.gl",