When using line styles for surface-type data, unexpected line segments may be generated.
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**:2.15.0
**browser**:chrome
### Steps to Trigger Behavior
1.Loading surface-type data as a line layer.
2.When the line thickness is set to a large value, unexpected lines may appear, overlapping with tile lines.
3.As shown in the following image.
When the width of the line segment is normal.:

When the line segment is thick.
Unexpectedly generated lines are the same as tile lines.

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
No source file, test, or entry point is named. Reproduce the issue in mapbox-gl-js 2.15.0 using Chrome by loading surface-type data as a line layer and increasing line thickness; done means thick lines no longer generate segments that overlap tile lines.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- computer-graphics, frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100