Fix attribution links for Thunderforest layers

This commit is contained in:
Tom Hughes 2014-06-26 10:42:16 +01:00
parent 04d9335f3c
commit 2b3ab9719b

View file

@ -24,13 +24,13 @@ L.OSM.Map = L.Map.extend({
name: I18n.t("javascripts.map.base.standard") name: I18n.t("javascripts.map.base.standard")
}), }),
new L.OSM.CycleMap({ 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", code: "C",
keyid: "cyclemap", keyid: "cyclemap",
name: I18n.t("javascripts.map.base.cycle_map") name: I18n.t("javascripts.map.base.cycle_map")
}), }),
new L.OSM.TransportMap({ 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", code: "T",
keyid: "transportmap", keyid: "transportmap",
name: I18n.t("javascripts.map.base.transport_map") name: I18n.t("javascripts.map.base.transport_map")