@deck.gl/aggregation-layers 8.7.7 → 8.8.0-alpha.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.
- package/dist/dist.dev.js +2827 -2639
- package/dist/es5/cpu-grid-layer/cpu-grid-layer.js +1 -0
- package/dist/es5/cpu-grid-layer/cpu-grid-layer.js.map +1 -1
- package/dist/es5/hexagon-layer/hexagon-layer.js +1 -0
- package/dist/es5/hexagon-layer/hexagon-layer.js.map +1 -1
- package/dist/esm/cpu-grid-layer/cpu-grid-layer.js +1 -0
- package/dist/esm/cpu-grid-layer/cpu-grid-layer.js.map +1 -1
- package/dist/esm/hexagon-layer/hexagon-layer.js +1 -0
- package/dist/esm/hexagon-layer/hexagon-layer.js.map +1 -1
- package/dist.min.js +1 -1
- package/package.json +3 -3
- package/src/cpu-grid-layer/cpu-grid-layer.js +3 -1
- package/src/hexagon-layer/hexagon-layer.js +3 -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.
|
|
5
|
+
"version": "8.8.0-alpha.2",
|
|
6
6
|
"publishConfig": {
|
|
7
7
|
"access": "public"
|
|
8
8
|
},
|
|
@@ -30,12 +30,12 @@
|
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"@luma.gl/shadertools": "^8.5.10",
|
|
33
|
-
"@math.gl/web-mercator": "
|
|
33
|
+
"@math.gl/web-mercator": "3.6.0-alpha.5",
|
|
34
34
|
"d3-hexbin": "^0.2.1"
|
|
35
35
|
},
|
|
36
36
|
"peerDependencies": {
|
|
37
37
|
"@deck.gl/core": "^8.0.0",
|
|
38
38
|
"@deck.gl/layers": "^8.0.0"
|
|
39
39
|
},
|
|
40
|
-
"gitHead": "
|
|
40
|
+
"gitHead": "a52215449dff06fb683f5afd6399526353d11f35"
|
|
41
41
|
}
|
|
@@ -25,6 +25,8 @@ import {pointToDensityGridDataCPU} from './grid-aggregator';
|
|
|
25
25
|
import CPUAggregator from '../utils/cpu-aggregator';
|
|
26
26
|
import AggregationLayer from '../aggregation-layer';
|
|
27
27
|
|
|
28
|
+
import GL from '@luma.gl/constants';
|
|
29
|
+
|
|
28
30
|
function nop() {}
|
|
29
31
|
|
|
30
32
|
const defaultProps = {
|
|
@@ -79,7 +81,7 @@ export default class CPUGridLayer extends AggregationLayer {
|
|
|
79
81
|
};
|
|
80
82
|
const attributeManager = this.getAttributeManager();
|
|
81
83
|
attributeManager.add({
|
|
82
|
-
positions: {size: 3, accessor: 'getPosition'}
|
|
84
|
+
positions: {size: 3, type: GL.DOUBLE, accessor: 'getPosition'}
|
|
83
85
|
});
|
|
84
86
|
// color and elevation attributes can't be added as attributes
|
|
85
87
|
// they are calcualted using 'getValue' accessor that takes an array of pints.
|
|
@@ -27,6 +27,8 @@ import {pointToHexbin} from './hexagon-aggregator';
|
|
|
27
27
|
import CPUAggregator from '../utils/cpu-aggregator';
|
|
28
28
|
import AggregationLayer from '../aggregation-layer';
|
|
29
29
|
|
|
30
|
+
import GL from '@luma.gl/constants';
|
|
31
|
+
|
|
30
32
|
function nop() {}
|
|
31
33
|
|
|
32
34
|
const defaultProps = {
|
|
@@ -79,7 +81,7 @@ export default class HexagonLayer extends AggregationLayer {
|
|
|
79
81
|
};
|
|
80
82
|
const attributeManager = this.getAttributeManager();
|
|
81
83
|
attributeManager.add({
|
|
82
|
-
positions: {size: 3, accessor: 'getPosition'}
|
|
84
|
+
positions: {size: 3, type: GL.DOUBLE, accessor: 'getPosition'}
|
|
83
85
|
});
|
|
84
86
|
// color and elevation attributes can't be added as attributes
|
|
85
87
|
// they are calculated using 'getValue' accessor that takes an array of pints.
|