deck.gl
deck.gl copied to clipboard
Heatmap: Data Accessor for radiusPixels
Target Use case
Currently, the HeatmapLayer supports radiusPixels to define the radius of each point drawn. However, this is fixed to all points drawn. I am in a situation, where I know exactly what the radius for each point should be, so by having a property data accessor (like the getWeight) I would be able to control each point.
Proposed feature
Introduce a getRadiusPixels data accessor and deprecate the radiusPixels property. By default each point will use a radiusInPixels of 30.
To Do List
- [ ] Add label and assign to milestone
- [ ] Coding
- [ ] Doc update
- [ ] What’s new update
- [ ] Test