@deck.gl/aggregation-layers 9.1.9 → 9.1.10
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/common/aggregator/cpu-aggregator/aggregate.d.ts.map +1 -1
- package/dist/common/aggregator/cpu-aggregator/aggregate.js +2 -0
- package/dist/common/aggregator/cpu-aggregator/aggregate.js.map +1 -1
- package/dist/common/aggregator/cpu-aggregator/cpu-aggregator.d.ts.map +1 -1
- package/dist/common/aggregator/cpu-aggregator/cpu-aggregator.js +1 -0
- package/dist/common/aggregator/cpu-aggregator/cpu-aggregator.js.map +1 -1
- package/dist/common/aggregator/gpu-aggregator/webgl-aggregator.d.ts.map +1 -1
- package/dist/common/aggregator/gpu-aggregator/webgl-aggregator.js +1 -0
- package/dist/common/aggregator/gpu-aggregator/webgl-aggregator.js.map +1 -1
- package/dist/dist.dev.js +4 -0
- package/dist/grid-layer/grid-layer.d.ts.map +1 -1
- package/dist/grid-layer/grid-layer.js +1 -0
- package/dist/grid-layer/grid-layer.js.map +1 -1
- package/dist/hexagon-layer/hexagon-layer.d.ts.map +1 -1
- package/dist/hexagon-layer/hexagon-layer.js +1 -0
- package/dist/hexagon-layer/hexagon-layer.js.map +1 -1
- package/dist/index.cjs +4 -0
- package/dist/index.cjs.map +2 -2
- package/package.json +2 -2
- package/src/common/aggregator/cpu-aggregator/aggregate.ts +3 -0
- package/src/common/aggregator/cpu-aggregator/cpu-aggregator.ts +1 -0
- package/src/common/aggregator/gpu-aggregator/webgl-aggregator.ts +1 -1
- package/src/grid-layer/grid-layer.ts +1 -0
- package/src/hexagon-layer/hexagon-layer.ts +1 -0
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"description": "deck.gl layers that aggregate the input data into alternative representations",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
|
-
"version": "9.1.
|
|
6
|
+
"version": "9.1.10",
|
|
7
7
|
"publishConfig": {
|
|
8
8
|
"access": "public"
|
|
9
9
|
},
|
|
@@ -50,5 +50,5 @@
|
|
|
50
50
|
"@luma.gl/core": "^9.1.5",
|
|
51
51
|
"@luma.gl/engine": "^9.1.5"
|
|
52
52
|
},
|
|
53
|
-
"gitHead": "
|
|
53
|
+
"gitHead": "f0dc529ad3196bcdbf4acb842c7aa81ca13cb689"
|
|
54
54
|
}
|
|
@@ -87,7 +87,10 @@ export function aggregate({
|
|
|
87
87
|
if (!target || target.length < bins.length) {
|
|
88
88
|
target = new Float32Array(bins.length);
|
|
89
89
|
}
|
|
90
|
+
|
|
91
|
+
// eslint-disable-next-line @typescript-eslint/no-shadow
|
|
90
92
|
let min = Infinity;
|
|
93
|
+
// eslint-disable-next-line @typescript-eslint/no-shadow
|
|
91
94
|
let max = -Infinity;
|
|
92
95
|
|
|
93
96
|
for (let j = 0; j < bins.length; j++) {
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
// SPDX-License-Identifier: MIT
|
|
3
3
|
// Copyright (c) vis.gl contributors
|
|
4
4
|
|
|
5
|
-
import {ModelProps} from '@luma.gl/engine';
|
|
6
5
|
import {WebGLBinSorter} from './webgl-bin-sorter';
|
|
7
6
|
import {WebGLAggregationTransform} from './webgl-aggregation-transform';
|
|
8
7
|
import {_deepEqual as deepEqual, log, BinaryAttribute} from '@deck.gl/core';
|
|
@@ -169,6 +168,7 @@ export class WebGLAggregator implements Aggregator {
|
|
|
169
168
|
}
|
|
170
169
|
|
|
171
170
|
/** Update aggregation props. Normalize prop values and set change flags. */
|
|
171
|
+
// eslint-disable-next-line complexity, max-statements
|
|
172
172
|
setProps(props: Partial<WebGLAggregationProps>) {
|
|
173
173
|
const oldProps = this.props;
|
|
174
174
|
|