Spread T@H over three host names.
authorTom Hughes <tom@compton.nu>
Fri, 9 Nov 2007 15:29:30 +0000 (15:29 +0000)
committerTom Hughes <tom@compton.nu>
Fri, 9 Nov 2007 15:29:30 +0000 (15:29 +0000)
public/javascripts/map.js

index 63c4e49150cb6293328c18779d9b9852fbb8f550..7b5c06bd045e33fc05e6487124bf1659330faf4b 100644 (file)
@@ -20,7 +20,7 @@ function createMap(divName) {
    map.addLayer(mapnik);
 
    var osmarender = new OpenLayers.Layer.TMS("Osmarender",
    map.addLayer(mapnik);
 
    var osmarender = new OpenLayers.Layer.TMS("Osmarender",
-                                             "http://tah.openstreetmap.org/Tiles/tile.php/",
+                                             ["http://a.tah.openstreetmap.org/Tiles/tile.php/","http://b.tah.openstreetmap.org/Tiles/tile.php/","http://c.tah.openstreetmap.org/Tiles/tile.php/"],
                                              { type: 'png', getURL: getTileURL, displayOutsideMaxExtent: true });
    map.addLayer(osmarender);
 
                                              { type: 'png', getURL: getTileURL, displayOutsideMaxExtent: true });
    map.addLayer(osmarender);