1 | ---
|
2 | layout: example.html
|
3 | title: View Min-Zoom
|
4 | shortdesc: Demonstrates how the view's minimum zoom level can be changed.
|
5 | docs: >
|
6 | The <code>minZoom</code> option for a view limits how far out you can
|
7 | zoom. This property can be updated by calling <code>view.setMinZoom(newMinZoom)</code>.
|
8 | In this example, the minimum zoom level is set so that you only see one
|
9 | world at a time. Resize your browser window to change the threshold.
|
10 | tags: "min, zoom"
|
11 | ---
|
12 | <div id="map" class="map"></div>
|