X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/483854f411ce7106144883824adb7e49060424c2..d1ee7de08b0900713ca2cd6510ee6bd83bf1c240:/app/assets/javascripts/map.js.erb?ds=sidebyside
diff --git a/app/assets/javascripts/map.js.erb b/app/assets/javascripts/map.js.erb
index 323d16378..a7e9f6f50 100644
--- a/app/assets/javascripts/map.js.erb
+++ b/app/assets/javascripts/map.js.erb
@@ -17,27 +17,29 @@ var objectLoader;
function mapLayers() {
return [{
- layer: new L.OSM.Mapnik(),
+ 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",
+ 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",
+ 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 ",
+ attribution: "Tiles courtesy of MapQuest ",
}),
keyid: "mapquest",
layerCode: "Q",