Open jdgarrett opened 4 months ago
Commenting here since this might be a related side effect I have noticed recently using DataFilterExtension and aggregation (specifically heatmap layer). If I deep copy the props (e.g. _.cloneDeep
via lodash) and reassign to the heatmap layer, it seems there is a recompute of the buffers. After going through each property individually I have noticed it is the filterCategories
prop that triggers this recompute (the prop value is just to [0]
). Oddly when I do this for a vector layer I do not see any performance hit. I would expect both layers to behave the same way.
Description
After upgrading to 9.0, I've been experiencing a couple of issues with aggregation layers.
There are also log warnings spammed to the console when rendering aggregation layers: These warnings were taken from the Heatmap page in the docs.
Expected Behavior
The expected behavior is that data filtering works on aggregation layers like it did in previous versions, and allows for changes to the colorRange property of the heatmap layer without breaking rendering.
Steps to Reproduce
Color Range issue: https://codepen.io/jdgarrett/pen/mdZRQbm Filter issue: https://codepen.io/jdgarrett/pen/QWXdJGJ
Environment
Logs