We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c912123 commit b2a45fcCopy full SHA for b2a45fc
modules/aggregation-layers/src/screen-grid-layer/screen-grid-layer.js
@@ -134,9 +134,11 @@ export default class ScreenGridLayer extends GridAggregationLayer {
134
getPickingInfo({info, mode}) {
135
const {index} = info;
136
if (index >= 0) {
137
- const {gpuGridAggregator} = this.state;
+ const {gpuGridAggregator, gpuAggregation, weights} = this.state;
138
// Get count aggregation results
139
- const aggregationResults = gpuGridAggregator.getData('count');
+ const aggregationResults = gpuAggregation
140
+ ? gpuGridAggregator.getData('count')
141
+ : weights.count;
142
143
// Each instance (one cell) is aggregated into single pixel,
144
// Get current instance's aggregation details.
0 commit comments