mapbox / mapbox/mapbox-gl-js

When using line styles for surface-type data, unexpected line segments may be generated.

Open
#13,025 0 comments 0 reactions 0 assignees View on GitHub

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

**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.:
![image](https://github.com/mapbox/mapbox-gl-js/assets/49504688/c8c6e6ee-0ca3-48e9-bbca-16065a455cba)

When the line segment is thick.
Unexpectedly generated lines are the same as tile lines.
![image](https://github.com/mapbox/mapbox-gl-js/assets/49504688/3fa77c6a-a010-483d-bed8-caef901c928d)

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

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.