Skip to content
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

Artifacts on the symbol layer when the window containing the map is moved to a secondary monitor #13149

Open
BogdanMarginean12 opened this issue Apr 16, 2024 · 0 comments

Comments

@BogdanMarginean12
Copy link

BogdanMarginean12 commented Apr 16, 2024

Hello,

I noticed that the symbol layer on the map exhibits noticeable artifacts/jagged edges that resemble downscaling issues when the window that contains the map is moved to a secondary monitor.

The issue can be repro-ed with the sample page:
https://docs.mapbox.com/mapbox-gl-js/example/add-image/

Open it up on the main (laptop) screen, move it to secondary.

The main screen in my case is a 16" MBP (M2 Pro), the secondary screen is an older 1080p benq xl2411z but I've seen the issue on various types of monitors and it seems to also happen on windows laptops. I can repro this in both Safari and Chrome.

Refreshing the window on the secondary screen does not seem to fix the issue which means that any new tab opened on the secondary monitor will have the artifacts.

I tried to enable antialias locally (it's not enabled in the sample) but it does not improve the appearance in this case.

The cat on the main screen:

Screenshot 2024-04-16 at 15 09 13

The cat on the secondary screen:
Screenshot 2024-04-16 at 15 09 27

Let me know if I'm doing something wrong or if this is a known issue, I haven't found anything related in the repo.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant