-
-
Notifications
You must be signed in to change notification settings - Fork 321
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
Metal: Incorrect reuse of sprites for line-pattern #2735
Comments
Thanks for the bug report. I'll have a look if I can create a render test for this. |
We have the same problem with current Android release: android-v11.1.0 |
@alexcristici see if you can fix this and ideally create a test for it. |
@alexcristici how can I help with finding the bug? Do you have any idea what the bug might be? |
@chchrn I'm investigating the |
This issue is probably a root cause of #2621 It can easily be reproduced on Android (both real device and emulator) using the minimalistic sample style provided above. @TimSylvester I see you recently worked on |
Great! The fix resolved our issues 🎉 @louwers what's your release schedule i.e. when will the fix go live? |
@iwo Nice. 🙂 I can make a release today. |
Hi @louwers, I see you made a release of Android v10 branch but I don't see |
There is no problem, releases can be made on request. Happy to make a release for Android with this fix as well. |
It would be great if you could make it then :-) |
Will be released later today. |
Hey @louwers, any update on the release? |
There was an issue with the release @iwo, but it is out now. |
Describe the bug
In our product we use a style with
line-pattern
. In versions that use MetalKit for map rendering we noticed a problem with filling lines with pattern.I have prepared a test project demonstrating the problem (attached).
The project style is available in style.json file or at https://api.npoint.io/7dac9318bfb95b18a9dc.
The example uses a simple geojson with two lines, one should be filled with a black dashed line and the other with yellow icons.
On a small zoom everything shows up as it should, but if you zoom in on the map you can see that the styles get mixed up.
The yellow line starts to appear as a black dashed line and vice versa.
The problem seems to be the reuse of sprites.
We have only noticed this problem for the
line-pattern
property.Before using the pre-metalKit version, we had no problems. The problem persists on the latest version 6.5.4 , and is also definitely present on 6.5.0
MlnPatterBug.zip
Screenshots
Platform information (please complete the following information):
The text was updated successfully, but these errors were encountered: