X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/b609606740db65b6c58c4b3ddd00d5362ae63d35..27532c3c3ad5b43af88dca96e54c88412d7ac601:/app/views/site/index.rhtml?ds=sidebyside diff --git a/app/views/site/index.rhtml b/app/views/site/index.rhtml index f8c0f02f4..b383c4b5e 100644 --- a/app/views/site/index.rhtml +++ b/app/views/site/index.rhtml @@ -58,7 +58,7 @@ this.src = OpenLayers.Util.getImagesLocation() + "404.png"; } map = new OpenLayers.Map( "map", - {maxExtent: new OpenLayers.Bounds(-20037508.34,-20037508.34,20037508.34,20037508.34), numZoomLevels:19, maxResolution:156543, units:'meters', projection: "EPSG:41001"} ); + {maxExtent: new OpenLayers.Bounds(-20037508.34,-20037508.34,20037508.34,20037508.34), numZoomLevels:19, maxResolution:156543, units:'m', 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} );