After setting the "line-translate" property to the line layer, the line layer will break at some zoom levels in version 1.x.x
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.13.2
**browser**: Version 111.0.5563.147 (official version) (64-bit)
### Steps to Trigger Behavior
1. Add a line layer.
2. Change the line-translate property of the line layer.
### Link to Demonstration
https://codepen.io/SuperHuZhiPeng/pen/gOBpaMQ
### Expected Behavior
Line layers should not have breaks
### Actual Behavior


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 break in the linked CodePen demo with mapbox-gl-js v1.13.2, focusing on the line layer after changing its line-translate property at different zoom levels. Compare the expected uninterrupted line with the actual rendering and verify that the line layer no longer breaks across the affected zoom levels.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend, web-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100