deck.gl icon indicating copy to clipboard operation
deck.gl copied to clipboard

Heatmap: Data Accessor for radiusPixels

Open janhartmann opened this issue 4 years ago • 0 comments

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

janhartmann avatar Sep 26 '21 04:09 janhartmann