minZoom Number (default: 1)

The minimum zoom level. Typical web maps use zoom levels from 0 (whole world) to 19 (sub-meter features).

The map zoom is clamped to the [minZoom, maxZoom] interval.

Example - limit zoom out to level 3

<div id="map"></div>
        layers: [{
            type: "tile",
            urlTemplate: "http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png",
            attribution: "&copy; OpenStreetMap"
        minZoom: 3,
        zoom: 5
In this article
Not finding the help you need? Improve this article