@deck.gl/aggregation-layers 9.0.0-alpha.4 → 9.0.0-alpha.6
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/LICENSE +19 -0
- package/dist/dist.dev.js +232 -235
- package/dist.min.js +55 -55
- package/package.json +5 -4
- package/typed/aggregation-layer.d.ts +1 -1
- package/typed/contour-layer/contour-layer.d.ts +1 -1
- package/typed/cpu-grid-layer/cpu-grid-layer.d.ts +2 -2
- package/typed/gpu-grid-layer/gpu-grid-cell-layer.d.ts +1 -1
- package/typed/gpu-grid-layer/gpu-grid-layer.d.ts +1 -1
- package/typed/grid-aggregation-layer.d.ts +1 -1
- package/typed/grid-layer/grid-layer.d.ts +1 -1
- package/typed/heatmap-layer/heatmap-layer.d.ts +1 -1
- package/typed/heatmap-layer/triangle-layer.d.ts +1 -1
- package/typed/hexagon-layer/hexagon-layer.d.ts +2 -2
- package/typed/screen-grid-layer/screen-grid-cell-layer.d.ts +1 -1
- package/typed/screen-grid-layer/screen-grid-layer.d.ts +1 -1
- package/typed/package.json +0 -6
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": "9.0.0-alpha.
|
|
5
|
+
"version": "9.0.0-alpha.6",
|
|
6
6
|
"publishConfig": {
|
|
7
7
|
"access": "public"
|
|
8
8
|
},
|
|
@@ -18,6 +18,7 @@
|
|
|
18
18
|
},
|
|
19
19
|
"main": "dist/es5/index.js",
|
|
20
20
|
"module": "dist/esm/index.js",
|
|
21
|
+
"types": "typed/index.d.ts",
|
|
21
22
|
"files": [
|
|
22
23
|
"dist",
|
|
23
24
|
"src",
|
|
@@ -38,10 +39,10 @@
|
|
|
38
39
|
"d3-hexbin": "^0.2.1"
|
|
39
40
|
},
|
|
40
41
|
"peerDependencies": {
|
|
41
|
-
"@deck.gl/core": "^
|
|
42
|
-
"@deck.gl/layers": "^
|
|
42
|
+
"@deck.gl/core": "^9.0.0-alpha",
|
|
43
|
+
"@deck.gl/layers": "^9.0.0-alpha",
|
|
43
44
|
"@luma.gl/core": "9.0.0-alpha.42",
|
|
44
45
|
"@luma.gl/engine": "9.0.0-alpha.42"
|
|
45
46
|
},
|
|
46
|
-
"gitHead": "
|
|
47
|
+
"gitHead": "dcb297a8b2b0fcfb3194f16f8df759afcd0e6cac"
|
|
47
48
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CompositeLayer, AttributeManager, LayerDataSource, UpdateParameters, CompositeLayerProps } from '@deck.gl/core
|
|
1
|
+
import { CompositeLayer, AttributeManager, LayerDataSource, UpdateParameters, CompositeLayerProps } from '@deck.gl/core';
|
|
2
2
|
export declare type AggregationLayerProps<DataT> = CompositeLayerProps & {
|
|
3
3
|
data: LayerDataSource<DataT>;
|
|
4
4
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Accessor, AccessorFunction, Color, Position, UpdateParameters, DefaultProps, LayersList } from '@deck.gl/core
|
|
1
|
+
import { Accessor, AccessorFunction, Color, Position, UpdateParameters, DefaultProps, LayersList } from '@deck.gl/core';
|
|
2
2
|
import GridAggregationLayer, { GridAggregationLayerProps } from '../grid-aggregation-layer';
|
|
3
3
|
/** All properties supported by ContourLayer. */
|
|
4
4
|
export declare type ContourLayerProps<DataT = unknown> = _ContourLayerProps<DataT> & GridAggregationLayerProps<DataT>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Accessor, AccessorFunction, Color, Position, Material, DefaultProps } from '@deck.gl/core
|
|
1
|
+
import { Accessor, AccessorFunction, Color, Position, Material, DefaultProps } from '@deck.gl/core';
|
|
2
2
|
import CPUAggregator from '../utils/cpu-aggregator';
|
|
3
3
|
import AggregationLayer, { AggregationLayerProps } from '../aggregation-layer';
|
|
4
|
-
import { Layer, UpdateParameters, GetPickingInfoParams, PickingInfo } from '@deck.gl/core
|
|
4
|
+
import { Layer, UpdateParameters, GetPickingInfoParams, PickingInfo } from '@deck.gl/core';
|
|
5
5
|
import { AggregateAccessor } from '../types';
|
|
6
6
|
/** All properties supported by CPUGridLayer. */
|
|
7
7
|
export declare type CPUGridLayerProps<DataT = unknown> = _CPUGridLayerProps<DataT> & AggregationLayerProps<DataT>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Layer, LayerProps, DefaultProps } from '@deck.gl/core
|
|
1
|
+
import { Layer, LayerProps, DefaultProps } from '@deck.gl/core';
|
|
2
2
|
import { Model } from '@luma.gl/engine';
|
|
3
3
|
import { Buffer } from '@luma.gl/core';
|
|
4
4
|
import type { _GPUGridLayerProps } from './gpu-grid-layer';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Accessor, AccessorFunction, Color, Material, GetPickingInfoParams, LayerContext, PickingInfo, Position, DefaultProps } from '@deck.gl/core
|
|
1
|
+
import { Accessor, AccessorFunction, Color, Material, GetPickingInfoParams, LayerContext, PickingInfo, Position, DefaultProps } from '@deck.gl/core';
|
|
2
2
|
import GPUGridCellLayer from './gpu-grid-cell-layer';
|
|
3
3
|
import { GridHash } from './../cpu-grid-layer/grid-aggregator';
|
|
4
4
|
import GridAggregationLayer, { GridAggregationLayerProps } from '../grid-aggregation-layer';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { LayerContext, UpdateParameters, Accessor } from '@deck.gl/core
|
|
1
|
+
import { LayerContext, UpdateParameters, Accessor } from '@deck.gl/core';
|
|
2
2
|
import AggregationLayer, { AggregationLayerProps } from './aggregation-layer';
|
|
3
3
|
import GPUGridAggregator from './utils/gpu-grid-aggregation/gpu-grid-aggregator';
|
|
4
4
|
import BinSorter from './utils/bin-sorter';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CompositeLayer, CompositeLayerProps, Layer, UpdateParameters, DefaultProps } from '@deck.gl/core
|
|
1
|
+
import { CompositeLayer, CompositeLayerProps, Layer, UpdateParameters, DefaultProps } from '@deck.gl/core';
|
|
2
2
|
import { GPUGridLayerProps } from '../gpu-grid-layer/gpu-grid-layer';
|
|
3
3
|
import { CPUGridLayerProps } from '../cpu-grid-layer/cpu-grid-layer';
|
|
4
4
|
/** All properties supported by GridLayer. */
|
|
@@ -2,7 +2,7 @@ import { Texture, TextureFormat } from '@luma.gl/core';
|
|
|
2
2
|
import { GL } from '@luma.gl/constants';
|
|
3
3
|
import { Transform } from '@luma.gl/engine';
|
|
4
4
|
import { BufferWithAccessor } from '@luma.gl/webgl';
|
|
5
|
-
import { Accessor, AccessorFunction, AttributeManager, ChangeFlags, Color, Layer, LayerContext, LayersList, Position, UpdateParameters, DefaultProps } from '@deck.gl/core
|
|
5
|
+
import { Accessor, AccessorFunction, AttributeManager, ChangeFlags, Color, Layer, LayerContext, LayersList, Position, UpdateParameters, DefaultProps } from '@deck.gl/core';
|
|
6
6
|
import AggregationLayer, { AggregationLayerProps } from '../aggregation-layer';
|
|
7
7
|
export declare type HeatmapLayerProps<DataT = unknown> = _HeatmapLayerProps<DataT> & AggregationLayerProps<DataT>;
|
|
8
8
|
declare type _HeatmapLayerProps<DataT> = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Device, Texture } from '@luma.gl/core';
|
|
2
2
|
import { Model } from '@luma.gl/engine';
|
|
3
|
-
import { Layer, LayerContext } from '@deck.gl/core
|
|
3
|
+
import { Layer, LayerContext } from '@deck.gl/core';
|
|
4
4
|
declare type _TriangleLayerProps = {
|
|
5
5
|
colorDomain: number[];
|
|
6
6
|
aggregationMode: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Accessor, AccessorFunction, Color, Position, Material, UpdateParameters, DefaultProps } from '@deck.gl/core
|
|
2
|
-
import { ColumnLayer } from '@deck.gl/layers
|
|
1
|
+
import { Accessor, AccessorFunction, Color, Position, Material, UpdateParameters, DefaultProps } from '@deck.gl/core';
|
|
2
|
+
import { ColumnLayer } from '@deck.gl/layers';
|
|
3
3
|
import CPUAggregator from '../utils/cpu-aggregator';
|
|
4
4
|
import AggregationLayer, { AggregationLayerProps } from '../aggregation-layer';
|
|
5
5
|
import { AggregateAccessor } from '../types';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Device, Texture } from '@luma.gl/core';
|
|
2
2
|
import { Model } from '@luma.gl/engine';
|
|
3
|
-
import { Layer, LayerProps, UpdateParameters, DefaultProps } from '@deck.gl/core
|
|
3
|
+
import { Layer, LayerProps, UpdateParameters, DefaultProps } from '@deck.gl/core';
|
|
4
4
|
import type { _ScreenGridLayerProps } from './screen-grid-layer';
|
|
5
5
|
/** All properties supported by ScreenGridCellLayer. */
|
|
6
6
|
export declare type ScreenGridCellLayerProps<DataT = unknown> = _ScreenGridCellLayerProps<DataT> & LayerProps;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Accessor, Color, GetPickingInfoParams, Layer, LayerContext, LayersList, PickingInfo, Position, UpdateParameters, DefaultProps } from '@deck.gl/core
|
|
1
|
+
import { Accessor, Color, GetPickingInfoParams, Layer, LayerContext, LayersList, PickingInfo, Position, UpdateParameters, DefaultProps } from '@deck.gl/core';
|
|
2
2
|
import type { Buffer, Texture } from '@luma.gl/core';
|
|
3
3
|
import GridAggregationLayer, { GridAggregationLayerProps } from '../grid-aggregation-layer';
|
|
4
4
|
/** All properties supported by ScreenGridLayer. */
|