@deck.gl/aggregation-layers 8.8.0-beta.1 → 8.8.0-beta.2

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.
Files changed (56) hide show
  1. package/dist/dist.dev.js +8 -12
  2. package/dist/es5/contour-layer/contour-layer.js.map +1 -1
  3. package/dist/es5/cpu-grid-layer/cpu-grid-layer.js.map +1 -1
  4. package/dist/es5/gpu-grid-layer/gpu-grid-cell-layer.js +0 -4
  5. package/dist/es5/gpu-grid-layer/gpu-grid-cell-layer.js.map +1 -1
  6. package/dist/es5/gpu-grid-layer/gpu-grid-layer.js.map +1 -1
  7. package/dist/es5/grid-layer/grid-layer.js.map +1 -1
  8. package/dist/es5/heatmap-layer/heatmap-layer.js.map +1 -1
  9. package/dist/es5/hexagon-layer/hexagon-layer.js.map +1 -1
  10. package/dist/es5/screen-grid-layer/screen-grid-cell-layer.js.map +1 -1
  11. package/dist/es5/screen-grid-layer/screen-grid-layer.js.map +1 -1
  12. package/dist/es5/utils/color-utils.js.map +1 -1
  13. package/dist/esm/contour-layer/contour-layer.js.map +1 -1
  14. package/dist/esm/cpu-grid-layer/cpu-grid-layer.js.map +1 -1
  15. package/dist/esm/gpu-grid-layer/gpu-grid-cell-layer.js +0 -4
  16. package/dist/esm/gpu-grid-layer/gpu-grid-cell-layer.js.map +1 -1
  17. package/dist/esm/gpu-grid-layer/gpu-grid-layer.js.map +1 -1
  18. package/dist/esm/grid-layer/grid-layer.js.map +1 -1
  19. package/dist/esm/heatmap-layer/heatmap-layer.js.map +1 -1
  20. package/dist/esm/hexagon-layer/hexagon-layer.js.map +1 -1
  21. package/dist/esm/screen-grid-layer/screen-grid-cell-layer.js.map +1 -1
  22. package/dist/esm/screen-grid-layer/screen-grid-layer.js.map +1 -1
  23. package/dist/esm/utils/color-utils.js.map +1 -1
  24. package/dist.min.js +1 -1
  25. package/package.json +4 -4
  26. package/src/contour-layer/contour-layer.ts +3 -2
  27. package/src/cpu-grid-layer/cpu-grid-layer.ts +20 -6
  28. package/src/gpu-grid-layer/gpu-grid-cell-layer.ts +15 -6
  29. package/src/gpu-grid-layer/gpu-grid-layer.ts +8 -6
  30. package/src/grid-layer/grid-layer.ts +9 -3
  31. package/src/heatmap-layer/heatmap-layer.ts +6 -4
  32. package/src/hexagon-layer/hexagon-layer.ts +30 -10
  33. package/src/screen-grid-layer/screen-grid-cell-layer.ts +4 -3
  34. package/src/screen-grid-layer/screen-grid-layer.ts +5 -4
  35. package/src/utils/{color-utils.js → color-utils.ts} +1 -1
  36. package/typed/contour-layer/contour-layer.d.ts +2 -23
  37. package/typed/contour-layer/contour-layer.d.ts.map +1 -1
  38. package/typed/cpu-grid-layer/cpu-grid-layer.d.ts +15 -89
  39. package/typed/cpu-grid-layer/cpu-grid-layer.d.ts.map +1 -1
  40. package/typed/gpu-grid-layer/gpu-grid-cell-layer.d.ts +9 -46
  41. package/typed/gpu-grid-layer/gpu-grid-cell-layer.d.ts.map +1 -1
  42. package/typed/gpu-grid-layer/gpu-grid-layer.d.ts +6 -44
  43. package/typed/gpu-grid-layer/gpu-grid-layer.d.ts.map +1 -1
  44. package/typed/grid-layer/grid-layer.d.ts +3 -84
  45. package/typed/grid-layer/grid-layer.d.ts.map +1 -1
  46. package/typed/heatmap-layer/heatmap-layer.d.ts +4 -49
  47. package/typed/heatmap-layer/heatmap-layer.d.ts.map +1 -1
  48. package/typed/hexagon-layer/hexagon-layer.d.ts +19 -91
  49. package/typed/hexagon-layer/hexagon-layer.d.ts.map +1 -1
  50. package/typed/screen-grid-layer/screen-grid-cell-layer.d.ts +2 -14
  51. package/typed/screen-grid-layer/screen-grid-cell-layer.d.ts.map +1 -1
  52. package/typed/screen-grid-layer/screen-grid-layer.d.ts +4 -26
  53. package/typed/screen-grid-layer/screen-grid-layer.d.ts.map +1 -1
  54. package/typed/utils/bin-sorter.d.ts +1 -1
  55. package/typed/utils/color-utils.d.ts +2 -2
  56. package/typed/utils/color-utils.d.ts.map +1 -1
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@deck.gl/aggregation-layers",
3
3
  "description": "deck.gl layers that aggregate the input data into alternative representations",
4
4
  "license": "MIT",
5
- "version": "8.8.0-beta.1",
5
+ "version": "8.8.0-beta.2",
6
6
  "publishConfig": {
7
7
  "access": "public"
8
8
  },
@@ -31,14 +31,14 @@
31
31
  },
32
32
  "dependencies": {
33
33
  "@luma.gl/constants": "^8.5.14",
34
- "@luma.gl/core": "^8.5.14",
35
34
  "@luma.gl/shadertools": "^8.5.14",
36
35
  "@math.gl/web-mercator": "^3.6.0",
37
36
  "d3-hexbin": "^0.2.1"
38
37
  },
39
38
  "peerDependencies": {
40
39
  "@deck.gl/core": "^8.0.0",
41
- "@deck.gl/layers": "^8.0.0"
40
+ "@deck.gl/layers": "^8.0.0",
41
+ "@luma.gl/core": "^8.0.0"
42
42
  },
43
- "gitHead": "1e4621a4f7422a053a74dcd8a175f9b56c273a14"
43
+ "gitHead": "d9bae59d015387c547366465d75d80950c60a34e"
44
44
  }
@@ -28,7 +28,8 @@ import {
28
28
  Layer,
29
29
  log,
30
30
  Position,
31
- UpdateParameters
31
+ UpdateParameters,
32
+ DefaultProps
32
33
  } from '@deck.gl/core';
33
34
 
34
35
  import GPUGridAggregator from '../utils/gpu-grid-aggregation/gpu-grid-aggregator';
@@ -40,7 +41,7 @@ const DEFAULT_COLOR = [255, 255, 255, 255];
40
41
  const DEFAULT_STROKE_WIDTH = 1;
41
42
  const DEFAULT_THRESHOLD = 1;
42
43
 
43
- const defaultProps = {
44
+ const defaultProps: DefaultProps<ContourLayerProps> = {
44
45
  // grid aggregation
45
46
  cellSize: {type: 'number', min: 1, max: 1000, value: 1000},
46
47
  getPosition: {type: 'accessor', value: x => x.position},
@@ -19,8 +19,8 @@
19
19
  // THE SOFTWARE.
20
20
 
21
21
  import GL from '@luma.gl/constants';
22
- import {GridCellLayer, _MaterialProps as MaterialProps} from '@deck.gl/layers';
23
- import {Accessor, AccessorFunction, Color, Position} from '@deck.gl/core';
22
+ import {GridCellLayer} from '@deck.gl/layers';
23
+ import {Accessor, AccessorFunction, Color, Position, Material, DefaultProps} from '@deck.gl/core';
24
24
 
25
25
  import {defaultColorRange} from '../utils/color-utils';
26
26
  import {pointToDensityGridDataCPU} from './grid-aggregator';
@@ -34,7 +34,7 @@ import {AggregateAccessor} from '../types';
34
34
  // eslint-disable-next-line @typescript-eslint/no-empty-function
35
35
  function nop() {}
36
36
 
37
- const defaultProps = {
37
+ const defaultProps: DefaultProps<CPUGridLayerProps> = {
38
38
  // color
39
39
  colorDomain: null,
40
40
  colorRange: defaultColorRange,
@@ -162,11 +162,20 @@ export type _CPUGridLayerProps<DataT> = {
162
162
  colorScaleType?: 'quantize' | 'linear' | 'quantile' | 'ordinal';
163
163
 
164
164
  /**
165
- * This is an object that contains material props
166
- * for [lighting effect](/docs/api-reference/core/lighting-effect.md) applied on extruded polygons.
165
+ * Scaling function used to determine the elevation of the grid cell, only supports 'linear'.
166
+ */
167
+ elevationScaleType?: 'linear';
168
+
169
+ // TODO - document
170
+ gridAggregator?: (props: any, params: any) => any;
171
+
172
+ /**
173
+ * Material settings for lighting effect. Applies if `extruded: true`.
174
+ *
167
175
  * @default true
176
+ * @see https://deck.gl/docs/developer-guide/using-lighting
168
177
  */
169
- material?: MaterialProps | null;
178
+ material?: Material;
170
179
 
171
180
  /**
172
181
  * Defines the operation used to aggregate all data object weights to calculate a cell's color value.
@@ -221,6 +230,11 @@ export type _CPUGridLayerProps<DataT> = {
221
230
  * @default () => {}
222
231
  */
223
232
  onSetElevationDomain?: (minMax: [number, number]) => void;
233
+
234
+ /**
235
+ * (Experimental) Filter data objects
236
+ */
237
+ _filterData: null | ((d: DataT) => boolean);
224
238
  };
225
239
 
226
240
  export default class CPUGridLayer<DataT = any, ExtraPropsT = {}> extends AggregationLayer<
@@ -18,7 +18,16 @@
18
18
  // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
19
19
  // THE SOFTWARE.
20
20
 
21
- import {Layer, fp64LowPart, project32, gouraudLighting, picking, LayerContext} from '@deck.gl/core';
21
+ import {
22
+ Layer,
23
+ fp64LowPart,
24
+ project32,
25
+ gouraudLighting,
26
+ picking,
27
+ LayerContext,
28
+ LayerProps,
29
+ DefaultProps
30
+ } from '@deck.gl/core';
22
31
  import GL from '@luma.gl/constants';
23
32
  import {Model, CubeGeometry, Buffer} from '@luma.gl/core';
24
33
  import {fp64arithmetic} from '@luma.gl/shadertools';
@@ -30,7 +39,7 @@ import fs from './gpu-grid-cell-layer-fragment.glsl';
30
39
  const COLOR_DATA_UBO_INDEX = 0;
31
40
  const ELEVATION_DATA_UBO_INDEX = 1;
32
41
 
33
- const defaultProps = {
42
+ const defaultProps: DefaultProps<_GPUGridCellLayerProps & LayerProps> = {
34
43
  // color
35
44
  colorDomain: null,
36
45
  colorRange: defaultColorRange,
@@ -41,12 +50,12 @@ const defaultProps = {
41
50
  elevationScale: {type: 'number', min: 0, value: 1},
42
51
 
43
52
  // grid
44
- gridSize: {type: 'array', min: 0, value: [1, 1]},
45
- gridOrigin: {type: 'array', min: 0, value: [0, 0]},
46
- gridOffset: {type: 'array', min: 0, value: [0, 0]},
53
+ gridSize: {type: 'array', value: [1, 1]},
54
+ gridOrigin: {type: 'array', value: [0, 0]},
55
+ gridOffset: {type: 'array', value: [0, 0]},
47
56
 
48
57
  cellSize: {type: 'number', min: 0, max: 1000, value: 1000},
49
- offset: {type: 'array', min: 0, value: [1, 1]},
58
+ offset: {type: 'array', value: [1, 1]},
50
59
  coverage: {type: 'number', min: 0, max: 1, value: 1},
51
60
  extruded: true,
52
61
 
@@ -24,13 +24,14 @@ import {
24
24
  Accessor,
25
25
  AccessorFunction,
26
26
  Color,
27
+ Material,
27
28
  GetPickingInfoParams,
28
29
  LayerContext,
29
30
  log,
30
31
  PickingInfo,
31
- Position
32
+ Position,
33
+ DefaultProps
32
34
  } from '@deck.gl/core';
33
- import {_MaterialProps as MaterialProps} from '@deck.gl/layers';
34
35
 
35
36
  import GPUGridAggregator from '../utils/gpu-grid-aggregation/gpu-grid-aggregator';
36
37
  import {AGGREGATION_OPERATION} from '../utils/aggregation-operation-utils';
@@ -40,7 +41,7 @@ import {pointToDensityGridDataCPU} from './../cpu-grid-layer/grid-aggregator';
40
41
  import GridAggregationLayer, {GridAggregationLayerProps} from '../grid-aggregation-layer';
41
42
  import {getBoundingBox, getGridParams} from '../utils/grid-aggregation-utils';
42
43
 
43
- const defaultProps = {
44
+ const defaultProps: DefaultProps<GPUGridLayerProps> = {
44
45
  // color
45
46
  colorDomain: null,
46
47
  colorRange: defaultColorRange,
@@ -129,11 +130,12 @@ export type _GPUGridLayerProps<DataT> = {
129
130
  extruded?: boolean;
130
131
 
131
132
  /**
132
- * This is an object that contains material props
133
- * for [lighting effect](/docs/api-reference/core/lighting-effect.md) applied on extruded polygons.
133
+ * Material settings for lighting effect. Applies if `extruded: true`.
134
+ *
134
135
  * @default true
136
+ * @see https://deck.gl/docs/developer-guide/using-lighting
135
137
  */
136
- material?: MaterialProps | null;
138
+ material?: Material;
137
139
 
138
140
  /**
139
141
  * Defines the operation used to aggregate all data object weights to calculate a cell's color value.
@@ -1,9 +1,15 @@
1
- import {CompositeLayer, CompositeLayerProps, Layer, UpdateParameters} from '@deck.gl/core';
1
+ import {
2
+ CompositeLayer,
3
+ CompositeLayerProps,
4
+ Layer,
5
+ UpdateParameters,
6
+ DefaultProps
7
+ } from '@deck.gl/core';
2
8
  import GPUGridAggregator from '../utils/gpu-grid-aggregation/gpu-grid-aggregator';
3
9
  import GPUGridLayer, {_GPUGridLayerProps} from '../gpu-grid-layer/gpu-grid-layer';
4
10
  import CPUGridLayer, {_CPUGridLayerProps} from '../cpu-grid-layer/cpu-grid-layer';
5
11
 
6
- const defaultProps = {
12
+ const defaultProps: DefaultProps<GridLayerProps> = {
7
13
  ...GPUGridLayer.defaultProps,
8
14
  ...CPUGridLayer.defaultProps,
9
15
  gpuAggregation: false
@@ -13,7 +19,7 @@ const defaultProps = {
13
19
  export type GridLayerProps<DataT = any> = _GridLayerProps<DataT> & CompositeLayerProps<DataT>;
14
20
 
15
21
  /** Properties added by GridLayer. */
16
- type _GridLayerProps<DataT = any> = _CPUGridLayerProps<DataT> &
22
+ type _GridLayerProps<DataT> = _CPUGridLayerProps<DataT> &
17
23
  _GPUGridLayerProps<DataT> & {
18
24
  /**
19
25
  * Whether the aggregation should be performed in high-precision 64-bit mode.
@@ -41,7 +41,8 @@ import {
41
41
  LayersList,
42
42
  log,
43
43
  Position,
44
- UpdateParameters
44
+ UpdateParameters,
45
+ DefaultProps
45
46
  } from '@deck.gl/core';
46
47
  import TriangleLayer from './triangle-layer';
47
48
  import AggregationLayer, {AggregationLayerProps} from '../aggregation-layer';
@@ -68,7 +69,7 @@ const AGGREGATION_MODE = {
68
69
  MEAN: 1
69
70
  };
70
71
 
71
- const defaultProps = {
72
+ const defaultProps: DefaultProps<HeatmapLayerProps> = {
72
73
  getPosition: {type: 'accessor', value: x => x.position},
73
74
  getWeight: {type: 'accessor', value: 1},
74
75
  intensity: {type: 'number', min: 0, value: 1},
@@ -98,9 +99,10 @@ const DIMENSIONS = {
98
99
  }
99
100
  };
100
101
 
101
- export type HeatmapLayerProps<DataT> = _HeatmapLayerProps<DataT> & AggregationLayerProps<DataT>;
102
+ export type HeatmapLayerProps<DataT = any> = _HeatmapLayerProps<DataT> &
103
+ AggregationLayerProps<DataT>;
102
104
 
103
- type _HeatmapLayerProps<DataT = any> = {
105
+ type _HeatmapLayerProps<DataT> = {
104
106
  /**
105
107
  * Radius of the circle in pixels, to which the weight of an object is distributed.
106
108
  *
@@ -18,8 +18,17 @@
18
18
  // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
19
19
  // THE SOFTWARE.
20
20
 
21
- import {Accessor, AccessorFunction, Color, log, Position, UpdateParameters} from '@deck.gl/core';
22
- import {ColumnLayer, _MaterialProps as MaterialProps} from '@deck.gl/layers';
21
+ import {
22
+ Accessor,
23
+ AccessorFunction,
24
+ Color,
25
+ log,
26
+ Position,
27
+ Material,
28
+ UpdateParameters,
29
+ DefaultProps
30
+ } from '@deck.gl/core';
31
+ import {ColumnLayer} from '@deck.gl/layers';
23
32
 
24
33
  import {defaultColorRange} from '../utils/color-utils';
25
34
 
@@ -33,7 +42,7 @@ import {AggregateAccessor} from '../types';
33
42
  // eslint-disable-next-line @typescript-eslint/no-empty-function
34
43
  function nop() {}
35
44
 
36
- const defaultProps = {
45
+ const defaultProps: DefaultProps<HexagonLayerProps> = {
37
46
  // color
38
47
  colorDomain: null,
39
48
  colorRange: defaultColorRange,
@@ -85,13 +94,13 @@ type _HexagonLayerProps<DataT = any> = {
85
94
  * Function to aggregate data into hexagonal bins.
86
95
  * @default d3-hexbin
87
96
  */
88
- hexagonAggregator?: () => any;
97
+ hexagonAggregator?: (props: any, params: any) => any;
89
98
 
90
99
  /**
91
100
  * Color scale input domain.
92
101
  * @default [min(colorWeight), max(colorWeight)]
93
102
  */
94
- colorDomain?: number[];
103
+ colorDomain?: [number, number] | null;
95
104
 
96
105
  /**
97
106
  * Specified as an array of colors [color1, color2, ...].
@@ -109,13 +118,13 @@ type _HexagonLayerProps<DataT = any> = {
109
118
  * Elevation scale input domain. The elevation scale is a linear scale that maps number of counts to elevation.
110
119
  * @default [0, max(elevationWeight)]
111
120
  */
112
- elevationDomain?: number[];
121
+ elevationDomain?: [number, number] | null;
113
122
 
114
123
  /**
115
124
  * Elevation scale output range.
116
125
  * @default [0, 1000]
117
126
  */
118
- elevationRange?: number[];
127
+ elevationRange?: [number, number];
119
128
 
120
129
  /**
121
130
  * Hexagon elevation multiplier.
@@ -165,11 +174,17 @@ type _HexagonLayerProps<DataT = any> = {
165
174
  colorScaleType?: 'quantize' | 'quantile' | 'ordinal';
166
175
 
167
176
  /**
168
- * This is an object that contains material props
169
- * for [lighting effect](/docs/api-reference/core/lighting-effect.md) applied on extruded polygons.
177
+ * Scaling function used to determine the elevation of the grid cell, only supports 'linear'.
178
+ */
179
+ elevationScaleType?: 'linear';
180
+
181
+ /**
182
+ * Material settings for lighting effect. Applies if `extruded: true`.
183
+ *
170
184
  * @default true
185
+ * @see https://deck.gl/docs/developer-guide/using-lighting
171
186
  */
172
- material?: MaterialProps | boolean;
187
+ material?: Material;
173
188
 
174
189
  /**
175
190
  * Defines the operation used to aggregate all data object weights to calculate a cell's color value.
@@ -224,6 +239,11 @@ type _HexagonLayerProps<DataT = any> = {
224
239
  * @default () => {}
225
240
  */
226
241
  onSetElevationDomain?: (minMax: [number, number]) => void;
242
+
243
+ /**
244
+ * (Experimental) Filter data objects
245
+ */
246
+ _filterData: null | ((d: DataT) => boolean);
227
247
  };
228
248
 
229
249
  export default class HexagonLayer<ExtraPropsT = {}> extends AggregationLayer<
@@ -19,7 +19,7 @@
19
19
  // THE SOFTWARE.
20
20
 
21
21
  import GL from '@luma.gl/constants';
22
- import {Model, Geometry, FEATURES, hasFeatures, Texture2D} from '@luma.gl/core';
22
+ import {Model, Geometry, FEATURES, hasFeatures, Texture2D, DefaultProps} from '@luma.gl/core';
23
23
  import {Layer, LayerProps, log, picking, UpdateParameters} from '@deck.gl/core';
24
24
  import {defaultColorRange, colorRangeToFlatArray} from '../utils/color-utils';
25
25
  import vs from './screen-grid-layer-vertex.glsl';
@@ -30,7 +30,7 @@ const DEFAULT_MINCOLOR = [0, 0, 0, 0];
30
30
  const DEFAULT_MAXCOLOR = [0, 255, 0, 255];
31
31
  const COLOR_PROPS = ['minColor', 'maxColor', 'colorRange', 'colorDomain'];
32
32
 
33
- const defaultProps = {
33
+ const defaultProps: DefaultProps<ScreenGridCellLayerProps> = {
34
34
  cellSizePixels: {value: 100, min: 1},
35
35
  cellMarginPixels: {value: 2, min: 0, max: 5},
36
36
 
@@ -39,7 +39,8 @@ const defaultProps = {
39
39
  };
40
40
 
41
41
  /** All properties supported by ScreenGridCellLayer. */
42
- export type ScreenGridCellLayerProps<DataT> = _ScreenGridCellLayerProps<DataT> & LayerProps<DataT>;
42
+ export type ScreenGridCellLayerProps<DataT = any> = _ScreenGridCellLayerProps<DataT> &
43
+ LayerProps<DataT>;
43
44
 
44
45
  /** Proprties added by ScreenGridCellLayer. */
45
46
  export type _ScreenGridCellLayerProps<DataT> = _ScreenGridLayerProps<DataT> & {
@@ -28,7 +28,8 @@ import {
28
28
  log,
29
29
  PickingInfo,
30
30
  Position,
31
- UpdateParameters
31
+ UpdateParameters,
32
+ DefaultProps
32
33
  } from '@deck.gl/core';
33
34
  import GL from '@luma.gl/constants';
34
35
  import type {Texture2D} from '@luma.gl/core';
@@ -38,7 +39,7 @@ import ScreenGridCellLayer from './screen-grid-cell-layer';
38
39
  import GridAggregationLayer, {GridAggregationLayerProps} from '../grid-aggregation-layer';
39
40
  import {getFloatTexture} from '../utils/resource-utils.js';
40
41
 
41
- const defaultProps = {
42
+ const defaultProps: DefaultProps<ScreenGridLayerProps> = {
42
43
  ...ScreenGridCellLayer.defaultProps,
43
44
  getPosition: {type: 'accessor', value: d => d.position},
44
45
  getWeight: {type: 'accessor', value: 1},
@@ -59,11 +60,11 @@ const DIMENSIONS = {
59
60
  };
60
61
 
61
62
  /** All properties supported by ScreenGridLayer. */
62
- export type ScreenGridLayerProps<DataT> = _ScreenGridLayerProps<DataT> &
63
+ export type ScreenGridLayerProps<DataT = any> = _ScreenGridLayerProps<DataT> &
63
64
  GridAggregationLayerProps<DataT>;
64
65
 
65
66
  /** Properties added by ScreenGridLayer. */
66
- export type _ScreenGridLayerProps<DataT = any> = {
67
+ export type _ScreenGridLayerProps<DataT> = {
67
68
  /**
68
69
  * Unit width/height of the bins.
69
70
  * @default 100
@@ -18,7 +18,7 @@
18
18
  // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
19
19
  // THE SOFTWARE.
20
20
 
21
- export const defaultColorRange = [
21
+ export const defaultColorRange: [number, number, number][] = [
22
22
  [255, 255, 178],
23
23
  [254, 217, 118],
24
24
  [254, 178, 76],
@@ -1,4 +1,4 @@
1
- import { Accessor, AccessorFunction, Color, Layer, Position, UpdateParameters } from '@deck.gl/core/typed';
1
+ import { Accessor, AccessorFunction, Color, Layer, Position, UpdateParameters, DefaultProps } from '@deck.gl/core/typed';
2
2
  import GridAggregationLayer, { GridAggregationLayerProps } from '../grid-aggregation-layer';
3
3
  /** All properties supported by ContourLayer. */
4
4
  export declare type ContourLayerProps<DataT = any> = _ContourLayerProps<DataT> & GridAggregationLayerProps<DataT>;
@@ -61,28 +61,7 @@ export declare type _ContourLayerProps<DataT> = {
61
61
  };
62
62
  export default class ContourLayer<DataT = any, ExtraPropsT = {}> extends GridAggregationLayer<ExtraPropsT & Required<_ContourLayerProps<DataT>>> {
63
63
  static layerName: string;
64
- static defaultProps: {
65
- cellSize: {
66
- type: string;
67
- min: number;
68
- max: number;
69
- value: number;
70
- };
71
- getPosition: {
72
- type: string;
73
- value: (x: any) => any;
74
- };
75
- getWeight: {
76
- type: string;
77
- value: number;
78
- };
79
- gpuAggregation: boolean;
80
- aggregation: string;
81
- contours: {
82
- threshold: number;
83
- }[];
84
- zOffset: number;
85
- };
64
+ static defaultProps: DefaultProps<ContourLayerProps<any>>;
86
65
  initializeState(): void;
87
66
  updateState(opts: UpdateParameters<this>): void;
88
67
  renderLayers(): Layer[];
@@ -1 +1 @@
1
- {"version":3,"file":"contour-layer.d.ts","sourceRoot":"","sources":["../../src/contour-layer/contour-layer.ts"],"names":[],"mappings":"AAuBA,OAAO,EACL,QAAQ,EACR,gBAAgB,EAChB,KAAK,EACL,KAAK,EAEL,QAAQ,EACR,gBAAgB,EACjB,MAAM,eAAe,CAAC;AAKvB,OAAO,oBAAoB,EAAE,EAAC,yBAAyB,EAAC,MAAM,2BAA2B,CAAC;AAgC1F,gDAAgD;AAChD,oBAAY,iBAAiB,CAAC,KAAK,GAAG,GAAG,IAAI,kBAAkB,CAAC,KAAK,CAAC,GACpE,yBAAyB,CAAC,KAAK,CAAC,CAAC;AAEnC,wCAAwC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EAAE,WAAW,GAAG,EAAE,CAAE,SAAQ,oBAAoB,CAC3F,WAAW,GAAG,QAAQ,CAAC,kBAAkB,CAAC,KAAK,CAAC,CAAC,CAClD;IACC,MAAM,CAAC,SAAS,SAAkB;IAClC,MAAM,CAAC,YAAY,uCAAgB;IAEnC,eAAe,IAAI,IAAI;IA2BvB,WAAW,CAAC,IAAI,EAAE,gBAAgB,CAAC,IAAI,CAAC,GAAG,IAAI;IAgB/C,YAAY,IAAI,KAAK,EAAE;IA4CvB,sBAAsB,CAAC,IAAI,KAAA;IAyE3B,OAAO,CAAC,gBAAgB;IAUxB,OAAO,CAAC,aAAa;IASrB,OAAO,CAAC,iBAAiB;IAsBzB,OAAO,CAAC,oBAAoB;CAc7B"}
@@ -1,11 +1,8 @@
1
- import { _MaterialProps as MaterialProps } from '@deck.gl/layers/typed';
2
- import { Accessor, AccessorFunction, Color, Position } from '@deck.gl/core/typed';
3
- import { pointToDensityGridDataCPU } from './grid-aggregator';
1
+ import { Accessor, AccessorFunction, Color, Position, Material, DefaultProps } from '@deck.gl/core/typed';
4
2
  import AggregationLayer, { AggregationLayerProps } from '../aggregation-layer';
5
3
  import Layer, { UpdateParameters } from 'modules/core/src/lib/layer';
6
4
  import { GetPickingInfoParams, PickingInfo } from 'modules/core/src/lib/picking/pick-info';
7
5
  import { AggregateAccessor } from '../types';
8
- declare function nop(): void;
9
6
  /** All properties supported by CPUGridLayer. */
10
7
  export declare type CPUGridLayerProps<DataT = any> = _CPUGridLayerProps<DataT> & AggregationLayerProps<DataT>;
11
8
  /** Properties added by CPUGridLayer. */
@@ -80,11 +77,17 @@ export declare type _CPUGridLayerProps<DataT> = {
80
77
  */
81
78
  colorScaleType?: 'quantize' | 'linear' | 'quantile' | 'ordinal';
82
79
  /**
83
- * This is an object that contains material props
84
- * for [lighting effect](/docs/api-reference/core/lighting-effect.md) applied on extruded polygons.
80
+ * Scaling function used to determine the elevation of the grid cell, only supports 'linear'.
81
+ */
82
+ elevationScaleType?: 'linear';
83
+ gridAggregator?: (props: any, params: any) => any;
84
+ /**
85
+ * Material settings for lighting effect. Applies if `extruded: true`.
86
+ *
85
87
  * @default true
88
+ * @see https://deck.gl/docs/developer-guide/using-lighting
86
89
  */
87
- material?: MaterialProps | null;
90
+ material?: Material;
88
91
  /**
89
92
  * Defines the operation used to aggregate all data object weights to calculate a cell's color value.
90
93
  * @default 'SUM'
@@ -130,90 +133,14 @@ export declare type _CPUGridLayerProps<DataT> = {
130
133
  * @default () => {}
131
134
  */
132
135
  onSetElevationDomain?: (minMax: [number, number]) => void;
136
+ /**
137
+ * (Experimental) Filter data objects
138
+ */
139
+ _filterData: null | ((d: DataT) => boolean);
133
140
  };
134
141
  export default class CPUGridLayer<DataT = any, ExtraPropsT = {}> extends AggregationLayer<ExtraPropsT & Required<_CPUGridLayerProps<DataT>>> {
135
142
  static layerName: string;
136
- static defaultProps: {
137
- colorDomain: null;
138
- colorRange: number[][];
139
- getColorValue: {
140
- type: string;
141
- value: null;
142
- };
143
- getColorWeight: {
144
- type: string;
145
- value: number;
146
- };
147
- colorAggregation: string;
148
- lowerPercentile: {
149
- type: string;
150
- min: number;
151
- max: number;
152
- value: number;
153
- };
154
- upperPercentile: {
155
- type: string;
156
- min: number;
157
- max: number;
158
- value: number;
159
- };
160
- colorScaleType: string;
161
- onSetColorDomain: typeof nop;
162
- elevationDomain: null;
163
- elevationRange: number[];
164
- getElevationValue: {
165
- type: string;
166
- value: null;
167
- };
168
- getElevationWeight: {
169
- type: string;
170
- value: number;
171
- };
172
- elevationAggregation: string;
173
- elevationLowerPercentile: {
174
- type: string;
175
- min: number;
176
- max: number;
177
- value: number;
178
- };
179
- elevationUpperPercentile: {
180
- type: string;
181
- min: number;
182
- max: number;
183
- value: number;
184
- };
185
- elevationScale: {
186
- type: string;
187
- min: number;
188
- value: number;
189
- };
190
- elevationScaleType: string;
191
- onSetElevationDomain: typeof nop;
192
- gridAggregator: typeof pointToDensityGridDataCPU;
193
- cellSize: {
194
- type: string;
195
- min: number;
196
- max: number;
197
- value: number;
198
- };
199
- coverage: {
200
- type: string;
201
- min: number;
202
- max: number;
203
- value: number;
204
- };
205
- getPosition: {
206
- type: string;
207
- value: (x: any) => any;
208
- };
209
- extruded: boolean;
210
- material: boolean;
211
- _filterData: {
212
- type: string;
213
- value: null;
214
- optional: boolean;
215
- };
216
- };
143
+ static defaultProps: DefaultProps<CPUGridLayerProps<any>>;
217
144
  initializeState(): void;
218
145
  updateState(opts: UpdateParameters<this>): void;
219
146
  getPickingInfo({ info }: GetPickingInfoParams): PickingInfo;
@@ -222,5 +149,4 @@ export default class CPUGridLayer<DataT = any, ExtraPropsT = {}> extends Aggrega
222
149
  _getSublayerUpdateTriggers(): any;
223
150
  renderLayers(): Layer;
224
151
  }
225
- export {};
226
152
  //# sourceMappingURL=cpu-grid-layer.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"cpu-grid-layer.d.ts","sourceRoot":"","sources":["../../src/cpu-grid-layer/cpu-grid-layer.ts"],"names":[],"mappings":"AAqBA,OAAO,EAAgB,cAAc,IAAI,aAAa,EAAC,MAAM,iBAAiB,CAAC;AAC/E,OAAO,EAAC,QAAQ,EAAE,gBAAgB,EAAE,KAAK,EAAE,QAAQ,EAAC,MAAM,eAAe,CAAC;AAG1E,OAAO,EAAC,yBAAyB,EAAC,MAAM,mBAAmB,CAAC;AAE5D,OAAO,gBAAgB,EAAE,EAAC,qBAAqB,EAAC,MAAM,sBAAsB,CAAC;AAE7E,OAAO,KAAK,EAAE,EAAC,gBAAgB,EAAC,MAAM,4BAA4B,CAAC;AACnE,OAAO,EAAC,oBAAoB,EAAE,WAAW,EAAC,MAAM,wCAAwC,CAAC;AACzF,OAAO,EAAC,iBAAiB,EAAC,MAAM,UAAU,CAAC;AAG3C,iBAAS,GAAG,SAAK;AAyCjB,gDAAgD;AAChD,oBAAY,iBAAiB,CAAC,KAAK,GAAG,GAAG,IAAI,kBAAkB,CAAC,KAAK,CAAC,GACpE,qBAAqB,CA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