Flicker problem
Open
Nobody has claimed this yet.
needs investigation :mag:
- Dominant language
- TypeScript
- Stars
- 12.4k
- Forks
- 2.4k
- PR merge metrics
- No merged PRs in 30d
Description
**mapbox-gl-js version**:
1.12.0
**browser**:
chrome 86.0.4240.183
### Steps to Trigger Behavior
1. When I execute the "map.getSource ('xx').setData (Option)" code, the layer blinks like a pretty eye, but that's not what I need
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 flicker with map.getSource('xx').setData(Option) in mapbox-gl-js 1.12.0 on Chrome 86, then inspect the source-update and layer-rendering paths involved. Done means the layer no longer visibly blinks during the reported update, with the behavior verified in a minimal reproduction.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100