-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
How to enable antialiasing for deck.gl custom layers? #2809
Comments
The antialias flag was not applied to custom layers, as fixed by mapbox/mapbox-gl-js#7821. This commit has not been released by mapbox. We are actively tracking its progress. |
The PR from mapbox's side is closed now and the fix was released with mapbox a few months back already. However, I still run into this issue using the latest version of all involved npm modules. |
@sibbl The |
@Pessimistress that's exactly what I did, but it didn't change anything. Is there a reason why mapbox-gl@0.54.0 is skipped by react-map-gl as the fix mentioned above is only in this and newer versions? Manually installing this specific version also didn't help unfortunately. |
@sibbl you can try react-map-gl 5.0.0 which uses mapbox-gl 1.0.0. I will also publish a patch of react-map-gl if you want to stay on the 0.xx track. |
In February, mapbox-gl-js added support for the antialias flag but I'm not sure how to use it.
Any suggestions? I'm experiencing jagged edges everywhere I've tested the custom layer.
The issue is less extreme with Retina Display but still happens. I'm using @deck.gl/react 6.4.7.
The text was updated successfully, but these errors were encountered: