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

LineLayer pattern and dashline glitch in corners #2266

Open
nicolasbarb opened this issue Nov 18, 2024 · 2 comments
Open

LineLayer pattern and dashline glitch in corners #2266

nicolasbarb opened this issue Nov 18, 2024 · 2 comments
Labels
bug 🪲 Something is broken!

Comments

@nicolasbarb
Copy link

Environment

  • Xcode version: 15.4
  • iOS version: 18.0.1
  • Devices affected: All
  • Maps SDK Version: 10.19

Observed behavior and steps to reproduce

LineLayer created with linePattern and an icon or with dashArray property will glitch in corners. images or dashs will be cut and distorted.
linePattern_lineLayer
dashLine_lineLayer

Expected behavior

In this JS exemple corners are great and react normally
https://docs.mapbox.com/mapbox-gl-js/example/line-pattern/

I expect iOS version to do the same.

Notes / preliminary analysis

I've tried all the possibilities with the LineCap and LineJoin parameters, but nothing corrects the problem mentioned above.

@nicolasbarb nicolasbarb added the bug 🪲 Something is broken! label Nov 18, 2024
@evil159
Copy link
Contributor

evil159 commented Nov 18, 2024

HI @nicolasbarb, thank you for your report. Could you try the same setup with the latest version of the Maps SDK(11.8)? Version 10.19 doesn't support LineJoin.none.

quido3 pushed a commit to SharperShape/mapbox-maps-ios that referenced this issue Nov 26, 2024
@nicolasbarb
Copy link
Author

nicolasbarb commented Nov 29, 2024

Hello @evil159
we tried with android 11.8 and iOS 11.8 and still got the same glitch with LineJoin.none set

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🪲 Something is broken!
Projects
None yet
Development

No branches or pull requests

2 participants