You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello. I created a minimap in order to show the user where the current viewport is on the base map. The minimap's container's width and height weren't a problem, until now when I need to show the whole world. Is there something I'm missing or this wasn't intended? Is there anything to do that I can help / fix this?
mapbox-gl-js version: 1.1.1
browser: Chrome/75.0.3770.142
Steps to Trigger Behavior
Create a project and display a map according to docs
Change #map style to { width: 120px; height: 120px }
This is a known issue #3055. We'd essentially need to handle negative zoom. I'm going to close this to focus discussion in the original ticket. Thanks!
Hello. I created a minimap in order to show the user where the current viewport is on the base map. The minimap's container's width and height weren't a problem, until now when I need to show the whole world. Is there something I'm missing or this wasn't intended? Is there anything to do that I can help / fix this?
mapbox-gl-js version: 1.1.1
browser: Chrome/75.0.3770.142
Steps to Trigger Behavior
{ width: 120px; height: 120px }
zoom: 0
Link to Demonstration
https://jsbin.com/tusurut/1/edit?html,output
Expected Behavior
I would be nice if the map can show the whole world on
zoom: 0
, no matter the container dimensions.Actual Behavior
It looks like minimum dimensions are aproximative
width: 520px
andheight: 400px
The text was updated successfully, but these errors were encountered: