gluonhq / maps

https://gluonhq.com/labs/maps/
GNU General Public License v3.0
142 stars 34 forks source link

How to have map fill width of screen #30

Closed ghost closed 5 years ago

ghost commented 5 years ago

Hello, In the BaseMap loadTiles method, would it be possible to have the MapTiles fill the width of the screen so there is never white space on the sides. This is a common behavior of Openmap and Openlayers. So for example, if we are on zoom level one, which displays a single tile, that tile would be repeated across the screen, leaving no white space on the left or right. In higher zoom levels, if I pan from left to right, the tiles would continually fill in as I pan, instead of stopping and then displaying white space. Thanks,