-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
draw priority is unstable in gl js #1558
Comments
Yeah, we're going to need examples for this to be actionable. |
I've run into this often with Emerald, starting with v8. I can't discern a pattern, though. A page refresh usually fixes the problem. |
Not sure if you changed code deployed for Mapbox Studio in the last 24 hours, or if my own upgrade to Windows 7 SP1 fixed something internal, but Mapbox Studio no longer exhibits the problem I described above. (And I can't test on the |
Sorry, I actually changed that in response to your last comment and meant to post back here: the styles that were displayed there weren't being kept up to date, and the page was using a bleeding-edge version of mapbox-gl-js. Together, these made it an unreliable way to show off the available styles. Mapbox Studio has a built-in style picker, and we'll have something similar in our documentation soon. We haven't changed anything intentionally to fix the rendering issues described here, so I suspect they disappeared for you for other reasons. |
Removed previous comment. Layer order was wrong... higher layers take priority over lower layers for labels. |
I theorize this is a race condition having to do with labels that are too close to tile boundaries. Maybe #1727 will help. |
@lucaswoj it's not just borders. I have a style with two symbol layers. Whichever I edit first and apply with a smartsetstyle gets draw priority. The end result is that the things you edit end up on top, and the things you haven't edited in a while drop to the bottom. Here's a style that should demonstrate this: https://gist.github.com/samanpwbb/0119c53b427a85ce24ef |
I wish I could find better examples of this problem, but:
The text was updated successfully, but these errors were encountered: