From 8af92f463bcb92c6b49903a1767b009327d9544c Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Fri, 25 Nov 2011 11:59:17 +0000 Subject: [PATCH] Add attribution to cycle and transport layers --- app/assets/javascripts/map.js.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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, -- 2.43.2