]> git.openstreetmap.org Git - rails.git/commitdiff
Update cyclemap layer to use new tile server
authorTom Hughes <tom@compton.nu>
Sun, 15 Aug 2010 16:35:08 +0000 (17:35 +0100)
committerTom Hughes <tom@compton.nu>
Sun, 15 Aug 2010 16:35:08 +0000 (17:35 +0100)
public/openlayers/OpenStreetMap.js

index 53094d8da7574cd2bf36c099a9999b98fc9511da..ce713e4b61fa654661ab46df280345cd4319f49b 100644 (file)
@@ -100,9 +100,9 @@ OpenLayers.Layer.OSM.CycleMap = OpenLayers.Class(OpenLayers.Layer.OSM, {
      */
     initialize: function(name, options) {
         var url = [
-            "http://a.andy.sandbox.cloudmade.com/tiles/cycle/${z}/${x}/${y}.png",
-            "http://b.andy.sandbox.cloudmade.com/tiles/cycle/${z}/${x}/${y}.png",
-            "http://c.andy.sandbox.cloudmade.com/tiles/cycle/${z}/${x}/${y}.png"
+            "http://a.tile.opencyclemap.org/cycle/${z}/${x}/${y}.png",
+            "http://b.tile.opencyclemap.org/cycle/${z}/${x}/${y}.png",
+            "http://c.tile.opencyclemap.org/cycle/${z}/${x}/${y}.png"
         ];
         options = OpenLayers.Util.extend({ numZoomLevels: 19, buffer: 0 }, options);
         var newArguments = [name, url, options];