zoom
Gets or sets the map zoom level. The setter is chainable, i.e. returns the map instance.
Parameters
level Number
The new zoom level. The value is clamped to the [minZoom, maxZoom] interval.
Returns
Number
The current zoom level.
Example - zoom in
<div id="map"></div>
<script>
$("#map").kendoMap({
layers: [{
type: "tile",
urlTemplate: "http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png",
attribution: "© OpenStreetMap"
}],
center: [32.7758, -96.7966]
});
var map = $("#map").data("kendoMap");
zoom = map.zoom();
map.zoom(zoom + 2);
</script>