From: Thomas Wood Date: Fri, 26 Jun 2009 22:59:51 +0000 (+0000) Subject: Fix the nonames layer URLs, as missed in the changes to OpenStreetMap.js earlier... X-Git-Tag: live~6933 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/8207c39859e0c95a5566740f6a3f1e1e177e1aeb?ds=sidebyside Fix the nonames layer URLs, as missed in the changes to OpenStreetMap.js earlier. (Due to move from our own OSM class to the OL provided one which relies on XYZ) --- diff --git a/public/javascripts/map.js b/public/javascripts/map.js index 6e012b3d3..0457713c5 100644 --- a/public/javascripts/map.js +++ b/public/javascripts/map.js @@ -57,9 +57,9 @@ function createMap(divName, options) { var nonamekey = nonamekeys[document.domain]; var noname = new OpenLayers.Layer.OSM("NoName", [ - "http://a.tile.cloudmade.com/" + nonamekey + "/3/256/", - "http://b.tile.cloudmade.com/" + nonamekey + "/3/256/", - "http://c.tile.cloudmade.com/" + nonamekey + "/3/256/" + "http://a.tile.cloudmade.com/" + nonamekey + "/3/256/${z}/${x}/${y}.png", + "http://b.tile.cloudmade.com/" + nonamekey + "/3/256/${z}/${x}/${y}.png", + "http://c.tile.cloudmade.com/" + nonamekey + "/3/256/${z}/${x}/${y}.png" ], { displayOutsideMaxExtent: true, wrapDateLine: true,