]> git.openstreetmap.org Git - rails.git/commitdiff
Update to latest leaflet-osm plugin
authorTom Hughes <tom@compton.nu>
Wed, 25 Jun 2014 17:54:12 +0000 (18:54 +0100)
committerTom Hughes <tom@compton.nu>
Wed, 25 Jun 2014 17:54:12 +0000 (18:54 +0100)
vendor/assets/leaflet/leaflet.osm.js

index 2fe41be1a19dc9cddf1db4e7127cfe651532e35b..f7bf207d0deca3fdb1c9e097761ff7a1ea0182b6 100644 (file)
@@ -25,15 +25,15 @@ L.OSM.Mapnik = L.OSM.TileLayer.extend({
 
 L.OSM.CycleMap = L.OSM.TileLayer.extend({
   options: {
-    url: 'http://{s}.tile.opencyclemap.org/cycle/{z}/{x}/{y}.png',
-    attribution: "Tiles courtesy of <a href='http://www.opencyclemap.org/' target='_blank'>Andy Allan</a>"
+    url: 'http://{s}.tile.thunderforest.com/cycle/{z}/{x}/{y}.png',
+    attribution: "Tiles courtesy of <a href='http://www.thunderforest.com/' target='_blank'>Andy Allan</a>"
   }
 });
 
 L.OSM.TransportMap = L.OSM.TileLayer.extend({
   options: {
-    url: 'http://{s}.tile2.opencyclemap.org/transport/{z}/{x}/{y}.png',
-    attribution: "Tiles courtesy of <a href='http://www.opencyclemap.org/' target='_blank'>Andy Allan</a>"
+    url: 'http://{s}.tile.thunderforest.com/transport/{z}/{x}/{y}.png',
+    attribution: "Tiles courtesy of <a href='http://www.thunderforest.com/' target='_blank'>Andy Allan</a>"
   }
 });