mapbox / mapbox/mapbox-gl-js

Flicker problem

Open
#10,073 3 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.