non-roadmap tiles don't display on load when zoom > 21
When the zoom level is over 21 (and using any tiles other than "roadmap"), the tiles don't display on load. As far as I can understand through lots of googling and using the library itself, the tiles are meant to use a pixelated scaling, but this doesn't happen upon initial load.
With a zoom of 22, you to interact with the map (drag, zoom in & out) before the tiles will show. I made a plunker to demonstrate the issue.
If you change the zoom level to 21, it displays fine and you can then zoom in using the map controls.
Is there some incantation to get the tiles displaying on load for zoom levels over 21?
Sorry if I've missed this somewhere, or I'm barking up the wrong tree, but I've spent the better part of a day trying to figure this one out and the best I can find is a setTimeout
around a setZoom
or fitBounds
call. I've fiddled with maxZoom
and maxNativeZoom
heaps, but still no luck.
Thanks! :D