Fix the nonames layer URLs, as missed in the changes to OpenStreetMap.js earlier...
authorThomas Wood <grand.edgemaster@gmail.com>
Fri, 26 Jun 2009 22:59:51 +0000 (22:59 +0000)
committerThomas Wood <grand.edgemaster@gmail.com>
Fri, 26 Jun 2009 22:59:51 +0000 (22:59 +0000)
public/javascripts/map.js

index 6e012b3d30f4cd0128d58654e63d20b1a02813be..0457713c591102567392226dd536ba8fe7f188dd 100644 (file)
@@ -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,