From 8207c39859e0c95a5566740f6a3f1e1e177e1aeb Mon Sep 17 00:00:00 2001 From: Thomas Wood Date: Fri, 26 Jun 2009 22:59:51 +0000 Subject: [PATCH 1/1] 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) --- public/javascripts/map.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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, -- 2.43.2