add overall minZoom and maxZoom limits to the map
This commit is contained in:
parent
fe47f9b5dc
commit
a96d562a94
@ -129,7 +129,7 @@ window.setupMap = function() {
|
||||
|
||||
|
||||
window.map = new L.Map('map', $.extend(getPosition(),
|
||||
{zoomControl: window.showZoom}
|
||||
{zoomControl: window.showZoom, minZoom: 1, maxZoom: 22}
|
||||
));
|
||||
|
||||
// add empty div to leaflet control areas - to force other leaflet controls to move around IITC UI elements
|
||||
|
Loading…
x
Reference in New Issue
Block a user