-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
sort icons and text together so icons can overlap text #10123
Conversation
Even with a fresh checkout of mapbox-gl-js main I get an error for the SymbolLayout benchmark: TypeError: i.tileID is undefined. |
possibly also fixes #4064 |
Any updates on this issue or a potential merge? |
I apologize for the silence here. Thanks for opening this! #10002 is a messy bug to fix. Unfortunately the way this is implemented, it adds more performance overhead and would make some styles significantly slower. Right now we need to prioritize not regressing the performance of those styles over the ideal rendering. This fixes the rendering, and it's unfortunate that we can't merge it. Since we're not able to move a complete fix forward right now, I'm going to close this. I apologize for not making this call earlier. I'll reopen if we pick this up again. Thanks! |
Is there a chance to fix this issue? #10021 |
@ansis it seems that enough people are runnning into this limitation over the years. Wouldn't it be handy to have it explicitly mentioned somewhere in the docs? |
This pull request attempts to fix issue #10002 by sorting the icon and the text part of a symbol together
instead of one after the other. I'm not sure if this is just a bug fix or a change in the style spec. I'm also not
sure if this needs a port to mapbox-gl-native.
Keep in mind when reviewing this pull request that beside of javascript itself I'm not at all familiar
with any of the tech used (i.e. nodejs, webgl, flow etc).
@mapbox/map-design-team @mapbox/static-apis