X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/00d085ed5db770b3ba18080290850d3283e9ffaf..c3b17aa506d6d7347f438de73de746d087cd0d19:/app/assets/javascripts/leaflet.map.js?ds=sidebyside
diff --git a/app/assets/javascripts/leaflet.map.js b/app/assets/javascripts/leaflet.map.js
index b992b5c8a..a907de295 100644
--- a/app/assets/javascripts/leaflet.map.js
+++ b/app/assets/javascripts/leaflet.map.js
@@ -58,13 +58,6 @@ L.OSM.Map = L.Map.extend({
}).prop("outerHTML");
var tracestrack = I18n.t("javascripts.map.tracestrack_credit", { tracestrack_link: tracestrack_link });
- var memomaps_link = $("", {
- href: "https://memomaps.de/",
- target: "_blank",
- text: I18n.t("javascripts.map.memomaps")
- }).prop("outerHTML");
- var memomaps = I18n.t("javascripts.map.opnvkarte_credit", { memomaps_link: memomaps_link });
-
var hotosm_link = $("", {
href: "https://www.hotosm.org/",
target: "_blank",
@@ -115,12 +108,6 @@ L.OSM.Map = L.Map.extend({
name: I18n.t("javascripts.map.base.tracestracktop_topo")
}));
}
- this.baseLayers.push(new L.OSM.OPNVKarte({
- attribution: copyright + ". " + memomaps + ". " + terms,
- code: "O",
- keyid: "opnvkarte",
- name: I18n.t("javascripts.map.base.opnvkarte")
- }));
this.baseLayers.push(new L.OSM.HOT({
attribution: copyright + ". " + hotosm + ". " + terms,
@@ -137,8 +124,7 @@ L.OSM.Map = L.Map.extend({
this.gpsLayer = new L.OSM.GPS({
pane: "overlayPane",
- code: "G",
- name: I18n.t("javascripts.map.base.gps")
+ code: "G"
});
this.on("layeradd", function (event) {