- this.baseLayers.push(new L.OSM.OPNVKarte({
- attribution: copyright + ". " + memomaps + ". " + terms,
- code: "O",
- keyid: "opnvkarte",
- name: I18n.t("javascripts.map.base.opnvkarte")
- }));
+ if (OSM.TRACESTRACK_KEY) {
+ this.baseLayers.push(new L.OSM.TracestrackTopo({
+ attribution: copyright + ". " + tracestrack + ". " + terms,
+ apikey: OSM.TRACESTRACK_KEY,
+ code: "P",
+ keyid: "tracestracktopo",
+ name: I18n.t("javascripts.map.base.tracestracktop_topo")
+ }));
+ }