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

Add globe view option #1195

Open
1ec5 opened this issue Feb 14, 2025 · 0 comments
Open

Add globe view option #1195

1ec5 opened this issue Feb 14, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@1ec5
Copy link
Member

1ec5 commented Feb 14, 2025

The map is currently displayed in Web Mercator projection. This projection makes Alaska too big, among many other distortions. Due to this projection, social studies instructors in Nebraska are prohibited by law from using OSM Americana in their classrooms, except as a demonstration of how maps can be misleading.

MapLibre supports using Vertical Perspective projection instead of Web Mercator. This is usually called “globe view” because it simulates the effect of looking straight on at a physical globe. There are still use cases for showing the whole world at once, so we still need to provide Web Mercator as an option or even leave it as the default. There should be a toggle button as well as a URL query parameter, since otherwise someone might share a URL to a view that covers a different viewport than expected. (The zoom level changes somewhat counterintuitively when panning in globe view.)

For prior art, OpenHistoricalMap/openhistoricalmap-embed#18 implements globe view in a Web application somewhat similar to Americana.

@1ec5 1ec5 added the enhancement New feature or request label Feb 14, 2025
jleedev added a commit that referenced this issue Feb 14, 2025
Unblocks globe view for #1195
jleedev added a commit that referenced this issue Feb 14, 2025
* Upgrade maplibre-gl

Unblocks globe view for #1195

* Broken entry point?

---------

Co-authored-by: Brian Sperlongano <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant