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

Zoom is restricted with options.renderWorldCopies active #8042

Closed
dieterdreist opened this issue Mar 15, 2019 · 1 comment
Closed

Zoom is restricted with options.renderWorldCopies active #8042

dieterdreist opened this issue Mar 15, 2019 · 1 comment

Comments

@dieterdreist
Copy link

mapbox-gl-js version:
mapbox-gl.js v0.53.1

browser:
all browsers

Steps to Trigger Behavior

  1. create a map view and look at it on a screen in portrait orientation
  2. try to see the whole world by zooming out

Link to Demonstration

https://docs.mapbox.com/mapbox-gl-js/example/simple-map/

Expected Behavior

Can zoom out until you see at least the whole world at once (potentially also show multiple copies of the world, there is even an option for it), regardless of screen proportions.

Actual Behavior

Zooming is restricted in a way that you cannot zoom out further as the map filling up the whole screen vertically. On a screen in portrait orientation this means seeing only a part of the world, while it allows for the whole world at once in landscape orientation.

@mourner
Copy link
Member

mourner commented Mar 15, 2019

This is the same underlying issue as #3055, so closing as duplicate. Currently we define zoom 0 as the one where z0 tile is displayed with 512x512 resolution, and we don't support minzoom less than 0.

@mourner mourner closed this as completed Mar 15, 2019
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

2 participants