deck.gl
deck.gl copied to clipboard
[Bug] HexagonLayer issues a warning if getColorValue is set and gpuAggregation is not
Description
If gpuAggregation is not set (according to the documentation, the default value is false) and getColorValue is set, then the warning
Features not supported by GPU aggregation, falling back to CPU
is issued.
Expected Behavior
No warning, since I didn't ask for GPU aggregation.
Steps to Reproduce
Replace gpuAggregation: true with getColorValue: () => 1 in the HexagonLayer example:
const layer = new HexagonLayer<BikeRack>({
…
// gpuAggregation: true,
getColorValue: () => 1
…
});
Environment
- Framework version: 9.1.4
- Browser: Opera, Edge, Firefox
- OS: Windows 10.0.19045
Logs
Features not supported by GPU aggregation, falling back to CPU