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

Scrolling Map to the Edge Results in Black Screen Covering Entire Viewport #10652

Open
Djkt2005 opened this issue Jan 5, 2025 · 3 comments
Open
Assignees
Labels
map-renderer An issue with how things are rendered in the map

Comments

@Djkt2005
Copy link

Djkt2005 commented Jan 5, 2025

Description

When the map is scrolled to its edge and the scrolling continues beyond the map bounds, a black screen appears. If scrolling persists, the entire viewport turns black, making the application unusable until it is refreshed or restarted. This significantly impacts the user experience, especially during navigation or exploration tasks.

The expected behavior should have been for the map to stop scrolling or display a proper boundary indication.

Steps to Recreate

  1. Open the application and load the map interface.
  2. Scroll the map towards any edge of the available map bounds.
  3. Continue scrolling beyond the edge.
  4. Observe that a black screen starts appearing and eventually covers the entire viewport.

Is this expected or a bug?

Screenshots

Screenshot 2025-01-05 202413
Screenshot 2025-01-05 202424
Screenshot 2025-01-05 202443

@Djkt2005
Copy link
Author

Djkt2005 commented Jan 5, 2025

This is causing a bad user experience, I would like to fix this bug.

@tyrasd
Copy link
Member

tyrasd commented Jan 7, 2025

Agree that limiting the panning to the map projection limits would make sense.

I would like to fix this bug.

Sure, give it a try!

@tyrasd tyrasd added the map-renderer An issue with how things are rendered in the map label Jan 7, 2025
@tyrasd
Copy link
Member

tyrasd commented Jan 7, 2025

A related issue would be to prevent osm nodes from being created outside of the +/-180° / +/-90° bounds: currently, iD does not prevent one from creating such nodes, but the OSM API will not accept such coordinates when trying to upload a changeset containing these.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
map-renderer An issue with how things are rendered in the map
Projects
None yet
Development

No branches or pull requests

2 participants