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

Cannot zoom out to view full map when map has small width #11575

Open
kaplantm opened this issue Mar 7, 2022 · 0 comments
Open

Cannot zoom out to view full map when map has small width #11575

kaplantm opened this issue Mar 7, 2022 · 0 comments

Comments

@kaplantm
Copy link

kaplantm commented Mar 7, 2022

I need to have a map size 280x160 pixels showing the whole globe, but i'm not able to do this - some of the map is clipped.

This issue is similar to #3055 but unfortunately that thread did not provide a solution for me.

mapbox-gl-js version: 2.7.0

browser: Chrome

Steps to Trigger Behavior

  1. Open example in code sandbox (just using the simple map example at a small size)
  2. Cannot see full globe when zoomed out as far as possible

Link to Demonstration

https://codesandbox.io/s/small-brook-83xl7l?file=/index.html

Expected Behavior

When zoomed out as far as possible, should be able to see full globe.

Actual Behavior

When zoomed out as far as possible, cannot see full globe.

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