From c941bc197cfa499ec140025715e8fac0b9a1f95e Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Wed, 10 Oct 2007 14:45:44 +0000 Subject: [PATCH] Give OpenLayers three different hosts (all really pointing at tile) to get mapnik tiles from so it loads tiles more quickly. --- public/javascripts/map.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/javascripts/map.js b/public/javascripts/map.js index 2f7d52e58..fab00e81d 100644 --- a/public/javascripts/map.js +++ b/public/javascripts/map.js @@ -15,7 +15,7 @@ function createMap(divName) { projection: "EPSG:41001" }); var mapnik = new OpenLayers.Layer.TMS("Mapnik", - "http://tile.openstreetmap.org/", + ["http://a.tile.openstreetmap.org/","http://b.tile.openstreetmap.org/","http://c.tile.openstreetmap.org/"], { type: 'png', getURL: getTileURL, displayOutsideMaxExtent: true }); map.addLayer(mapnik); -- 2.43.2