From: Tom Hughes Date: Fri, 15 Jun 2007 13:47:08 +0000 (+0000) Subject: Allow access to all zoom levels again. X-Git-Tag: live~8919 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/cbf2dea6117de3eeff2966b9034b0ad6144fe379?hp=9b446e75cbdbc20e239a7171b3f9ccab09927a28 Allow access to all zoom levels again. --- diff --git a/app/views/site/index.rhtml b/app/views/site/index.rhtml index d5c7b9e03..35b913979 100644 --- a/app/views/site/index.rhtml +++ b/app/views/site/index.rhtml @@ -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} );