-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Incorrect rendering when SDF and non-SDF images are together on the same layer #13477
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
Comments
Yes, but it's not quite enough — my use case sets At this moment, our application does recoloring by creating copies of the relevant images instead of SDF (though that was mostly because the previous folks never could figure out how to make acceptable SDF files from our SVGs), and smooth resizing is handled by oversizing the PNG files to the maximum allowed size and then scaling them down, so the main impact for now is just that I need to carry over all the overhead and baggage from that into a refactor that I'm working on. |
I've opened an internal ticket to tackle this but it will require some work and it hasn't yet been prioritized. I'm afraid there's no workaround I can suggest other than using the same style of icon everywhere. |
mapbox-gl-js version: Found in 3.3.0, confirmed present in 3.12.0
browser: Tested in Firefox and Chrome
Steps to Trigger Behavior
index.html
,dot1.png
, anddot2.png
static files in a "real" HTTP server (python -m http.server
is my tool of choice).index.html
Link to Demonstration
dot1.png
dot2.png
index.html (click to expand)
Expected Behavior
The dots should both be drawable at the same time. Of course, in the actual use case, there are much more dots, and I want to be able to overlap them in any order, independent of which image is used.
Actual Behavior
One of the dots gets fuzzy sometimes.
The text was updated successfully, but these errors were encountered: