Bug in official Example -> Add an ant path animation to a line
Open
Nobody has claimed this yet.
auto-triaged
bug :lady_beetle:
- Dominant language
- TypeScript
- Stars
- 12.4k
- Forks
- 2.4k
- PR merge metrics
- No merged PRs in 30d
Description
When running the official example to add an ant path animation to a line and removing the dark style the labels on the map start to flicker.
https://github.com/user-attachments/assets/bf4f86bf-e038-4ee1-842b-edfce9fb2a54
mapbox-gl-js version: 3.7.0
browser: Chrome
Steps to Trigger Behavior
- Run the official example
- Remove the style string to load the default style
- Zoom in
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 running the official ant path animation example in Chrome, remove the style string so the default style loads, and zoom in to reproduce the label flicker. Compare the behavior with and without the dark style; the work is done when labels remain stable while zooming with the default style.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100