Heatmap layer doesn't consider adjacent tiles for rendering if they are not visible
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 12.4k
- Forks
- 2.4k
- PR merge metrics
- No merged PRs in 30d
Description
**mapbox-gl-js version**: `v1.11.1`
**browser**: Chrome / Firefox

### Steps to Trigger Behavior
1. Create a dense point grid and use it as heatmap source.
2. Choose a large radius for `heatmap-radius`.
3. Zoom map to a high zoom level.
4. Pan the map around at the same zoom level.
### Link to Demonstration
https://jsbin.com/zegisuveda/1/edit?html,output (just pan the map vertically)
### Expected Behavior
Heatmap layer doesn't change the appearance while panning the map at the same zoom level.
### Actual Behavior
Panning the map changes the appearance of the heatmap layer.
When this happens, it looks like not all points are considered for heatmap rendering.
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 reproducing the behavior in the linked JSBin with a dense point grid, a large heatmap radius, and high-zoom panning. Compare the heatmap while panning at a fixed zoom; done means adjacent points are consistently included and the layer does not change appearance unexpectedly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, typescript
- Domain
- computer-graphics, frontend, web-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100