From 8c788ce387fe147b3d74a7f89d003d61cb6d83d6 Mon Sep 17 00:00:00 2001 From: Tom MacWright Date: Mon, 10 Jun 2013 13:51:47 -0700 Subject: [PATCH] Add attrib --- app/assets/javascripts/map.js.erb | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/app/assets/javascripts/map.js.erb b/app/assets/javascripts/map.js.erb index 74aaf5579..323d16378 100644 --- a/app/assets/javascripts/map.js.erb +++ b/app/assets/javascripts/map.js.erb @@ -18,25 +18,27 @@ var objectLoader; function mapLayers() { return [{ layer: new L.OSM.Mapnik(), - attribution: "", keyid: "mapnik", layerCode: "M", name: I18n.t("javascripts.map.base.standard") }, { - layer: new L.OSM.CycleMap(), - attribution: "Tiles courtesy of Andy Allan", + layer: new L.OSM.CycleMap( { + attribution: "Tiles courtesy of Andy Allan", + }), keyid: "cyclemap", layerCode: "C", name: I18n.t("javascripts.map.base.cycle_map") }, { - layer: new L.OSM.TransportMap(), - attribution: "Tiles courtesy of Andy Allan", + layer: new L.OSM.TransportMap({ + attribution: "Tiles courtesy of Andy Allan", + }), keyid: "transportmap", layerCode: "T", name: I18n.t("javascripts.map.base.transport_map") }, { - layer: new L.OSM.MapQuestOpen(), - attribution: "Tiles courtesy of MapQuest ", + layer: new L.OSM.MapQuestOpen({ + attribution: "Tiles courtesy of MapQuest ", + }), keyid: "mapquest", layerCode: "Q", name: I18n.t("javascripts.map.base.mapquest") -- 2.43.2