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

Web UI: map and trips use different coordinate systems when browser window is wide #690

Open
GerdC opened this issue Jan 2, 2025 · 4 comments

Comments

@GerdC
Copy link

GerdC commented Jan 2, 2025

To reproduce:
open the web UI like here https://api.transitous.org (any browser)

Bildschirmfoto 2025-01-02 um 10 10 59

then make the browser window wide:

Bildschirmfoto 2025-01-02 um 10 12 53

You see the map and trips rendered in different coordinate systems.

Tested and reproducible with Safari, Chrome, Firefox, Opera.

@felixguendling
Copy link
Member

Can't reproduce. What does "wide" mean? Can you record a screen recording where we can see the steps to reproduce?

@GerdC
Copy link
Author

GerdC commented Jan 2, 2025

Motis2.Web.UI.mp4

Often making the window wide is enough.
In the case of the recording, it was not, I refreshed the window after making it wide.

@felixguendling
Copy link
Member

Thank you! It seems to be specific for Mac OS on wide screens which is not a setup I have. So currently, I can't reproduce and/or fix it. The code only uses standard stuff from maplibre + deck.gl, so probably the problem is somewhere there.

@derhuerst
Copy link

I can reproduce the glitching and the layer shifting. M2 MacBook Air, macOS 14.7.2, Safari 18.2, 3840x2160 with a scaling factor of 2.

motis-glitch.mp4

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

3 participants