Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

line-dasharray with square line cap not rendering correctly #9531

Closed
tmpsantos opened this issue Apr 9, 2020 · 0 comments · Fixed by #9561
Closed

line-dasharray with square line cap not rendering correctly #9531

tmpsantos opened this issue Apr 9, 2020 · 0 comments · Fixed by #9561
Assignees
Labels
bug 🐞 cross-platform 📺 Requires coordination with Mapbox GL Native (style specification, rendering tests, etc.)

Comments

@tmpsantos
Copy link
Contributor

It is rendering is an offset. When placing two lines overlapping to create an outline effect, it is more evident.

expected1

When using round line cap, it renders as expected.

expected2

@tmpsantos tmpsantos added bug 🐞 cross-platform 📺 Requires coordination with Mapbox GL Native (style specification, rendering tests, etc.) labels Apr 9, 2020
ansis added a commit that referenced this issue Apr 13, 2020
mourner added a commit that referenced this issue May 6, 2021
* fix "line-dasharray" with "line-cap": "square"

fix #9531

* remove leftover

Co-authored-by: Vladimir Agafonkin <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐞 cross-platform 📺 Requires coordination with Mapbox GL Native (style specification, rendering tests, etc.)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants