mapbox / mapbox/mapbox-gl-js

Incorrect render of cul-de-sac (turning feature and turning feature outline) - port from gl-native needed

Open
#10,365 2 comments 0 reactions 0 assignees View on GitHub
3d :triangular_ruler: bug :lady_beetle: GL native → GL JS
Dominant language
TypeScript
Stars
12.4k
Forks
2.4k
PR merge metrics
No merged PRs in 30d

Description

Symbols _turning-feature_ and _turning-feature-outline_ are used early in rendering order, while rendering lines. This:
1. breaks draping sequence of layers and makes conservative rendering (e.g. when zooming's changing or during cross fading) slower
2. Creates visible artifact while panning (when render cache is used), e.g. like the one here:

![lineover](https://user-images.githubusercontent.com/55925868/103864539-749d9680-50cb-11eb-8f40-227b2f2a4c35.gif)

Capture presents implementation in gl-native:

https://user-images.githubusercontent.com/549216/107225803-f150c700-6a21-11eb-8fe7-511ddc9a3b82.mov

Contributor guide

Open the contributing guide

Research direction

Start by tracing where the turning-feature and turning-feature-outline symbols are handled during line rendering, then compare that path with the gl-native implementation referenced in the issue. Done means the symbols no longer disrupt layer draping or cause the reported panning artifact while preserving conservative rendering behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
computer-graphics
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.