mavelous
mavelous copied to clipboard
Zoom in further than the tiles permit to view smaller areas
It would be nice to be able to zoom in further than the max resolution of the map tiles so you can focus on a smaller area. As it is now, on my iPad, at max zoom I can see about two blocks worth of area. A bit more zoom would allow finer placement of waypoints.
I pushed a change that increases the max zoom, from 18 to 21. Bing is the only provider we use that has imagery for that zoom level, though, and if you go beyond zoom level 18 with the other providers you get a blank map. It also doesn't look like leaflet supports any way to show scaled tiles from a lower zoom level, but I'll have to investigate more.
Found this, which I'll investigate more thoroughly when I have a chance: https://github.com/kochizufan/ZoomTMSLayer "Zooming map tiles bigger than maxZoom setting, in Google Maps API, Leaflet and OpenLayers."