Allow access to all zoom levels again.
authorTom Hughes <tom@compton.nu>
Fri, 15 Jun 2007 13:47:08 +0000 (13:47 +0000)
committerTom Hughes <tom@compton.nu>
Fri, 15 Jun 2007 13:47:08 +0000 (13:47 +0000)
app/views/site/index.rhtml

index d5c7b9e0349aff4725017f003c88d426724f6441..35b91397986afdba0f8d655e5919f66f37d1aa4c 100644 (file)
@@ -58,7 +58,7 @@
       this.src = "http://www.openstreetmap.org/javascripts/img/404.png";
     }
     map = new OpenLayers.Map( "map", 
-        {maxExtent: new OpenLayers.Bounds(-20037508.34,-20037508.34,20037508.34,20037508.34), maxZoomLevel:18, maxResolution:156543, units:'meters', projection: "EPSG:41001"} );
+        {maxExtent: new OpenLayers.Bounds(-20037508.34,-20037508.34,20037508.34,20037508.34), numZoomLevels:19, maxResolution:156543, units:'meters', projection: "EPSG:41001"} );
     layer = new OpenLayers.Layer.TMS( "Mapnik", "http://tile.openstreetmap.org/", {type:'png', getURL:getTileURL} );
     map.addLayer(layer);
     layer = new OpenLayers.Layer.TMS( "Osmarender", "http://dev.openstreetmap.org/~ojw/Tiles/tile.php/", {type:'png', getURL:getTileURL} );