Heatmap: Data Accessor for radiusPixels
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 14.6k
- Forks
- 2.3k
- Avg merge
- 2d 9h
- Merged PRs (30d)
- 42
Description
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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating HeatmapLayer's handling of radiusPixels and the existing getWeight data accessor. Trace how per-point values are resolved, then define the getRadiusPixels behavior and the default radius of 30. Done means the accessor works per point, radiusPixels is deprecated, and the change includes tests, documentation, and a what's-new update.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- data-visualization
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100