]> git.openstreetmap.org Git - rails.git/blobdiff - public/javascripts/map.js
Set number of zoom levels on a per layer basis. Closes #603.
[rails.git] / public / javascripts / map.js
index 217e6e7589caa9fce2c7fcfb3e2e16f075c3491e..0f842cf48d697e08e98fb6c60c6bb78d64d83b4b 100644 (file)
@@ -5,7 +5,6 @@ var popup;
 function createMap(divName) {
    map = new OpenLayers.Map(divName,
                             { maxExtent: new OpenLayers.Bounds(-20037508,-20037508,20037508,20037508),
-                              numZoomLevels: 19,
                               maxResolution: 156543,
                               units: 'm',
                               projection: "EPSG:41001" });