From: Tom Hughes Date: Fri, 25 Nov 2011 11:59:17 +0000 (+0000) Subject: Add attribution to cycle and transport layers X-Git-Tag: live~5997 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/8af92f463bcb92c6b49903a1767b009327d9544c?ds=inline Add attribution to cycle and transport layers --- diff --git a/app/assets/javascripts/map.js.erb b/app/assets/javascripts/map.js.erb index b45e6b7b5..4a2925c7b 100644 --- a/app/assets/javascripts/map.js.erb +++ b/app/assets/javascripts/map.js.erb @@ -42,7 +42,7 @@ function createMap(divName, options) { map.addLayer(osmarender); var cyclemap = new OpenLayers.Layer.OSM.CycleMap(i18n("javascripts.map.base.cycle_map"), { - attribution: "", + attribution: "Tiles courtesy of Andy Allan", keyid: "cyclemap", displayOutsideMaxExtent: true, wrapDateLine: true, @@ -51,7 +51,7 @@ function createMap(divName, options) { map.addLayer(cyclemap); var transportmap = new OpenLayers.Layer.OSM.TransportMap(i18n("javascripts.map.base.transport_map"), { - attribution: "", + attribution: "Tiles courtesy of Andy Allan", keyid: "transportmap", displayOutsideMaxExtent: true, wrapDateLine: true,