osmlab / show-me-the-way

See OSM edits happen in real time.
https://osmlab.github.io/show-me-the-way/
MIT License
130 stars 46 forks source link

Set maxZoom for overview map. #53

Closed Piskvor closed 7 years ago

Piskvor commented 7 years ago

If not specified, setting a tiny bounding box only shows a black square, as the tiles are only specified for a small zoom range. This forces the zoom range on both sides, which always gives a valid map.

(Yes, this is a tiny PR; should have though of it when setting minZoom, sorry about that.)