]> git.openstreetmap.org Git - rails.git/commitdiff
Fix attribution links for Thunderforest layers
authorTom Hughes <tom@compton.nu>
Thu, 26 Jun 2014 09:42:16 +0000 (10:42 +0100)
committerTom Hughes <tom@compton.nu>
Thu, 26 Jun 2014 09:42:16 +0000 (10:42 +0100)
app/assets/javascripts/leaflet.map.js.erb

index f02f9beda87a3dcfa84a6b3b63944c56813465ae..b4767f96be506062172ae763d00a45e3eabd8075 100644 (file)
@@ -24,13 +24,13 @@ L.OSM.Map = L.Map.extend({
         name: I18n.t("javascripts.map.base.standard")
       }),
       new L.OSM.CycleMap({
-        attribution: copyright + ". Tiles courtesy of <a href='http://www.opencyclemap.org/' target='_blank'>Andy Allan</a>",
+        attribution: copyright + ". Tiles courtesy of <a href='http://www.thunderforest.com/' target='_blank'>Andy Allan</a>",
         code: "C",
         keyid: "cyclemap",
         name: I18n.t("javascripts.map.base.cycle_map")
       }),
       new L.OSM.TransportMap({
-        attribution: copyright + ". Tiles courtesy of <a href='http://www.opencyclemap.org/' target='_blank'>Andy Allan</a>",
+        attribution: copyright + ". Tiles courtesy of <a href='http://www.thunderforest.com/' target='_blank'>Andy Allan</a>",
         code: "T",
         keyid: "transportmap",
         name: I18n.t("javascripts.map.base.transport_map")