Edit this page

zoomable Boolean (default: true)

Controls whether the map zoom level can be changed by the user.

Example - make the map non-zoomable

<div id="map"></div>
        layers: [{
            type: "tile",
            urlTemplate: "http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png",
            attribution: "&copy; OpenStreetMap"
        center: [32.7758, -96.7966],
        zoom: 9,
        zoomable: false
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article