From d009d3ab3a8f3f11868adb011d1b71733309c99c Mon Sep 17 00:00:00 2001 From: relikd Date: Mon, 22 Jul 2024 20:36:09 +0200 Subject: [PATCH] feat: add imprint to map --- frontend/index.html | 4 ++-- frontend/script.js | 5 ++++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/frontend/index.html b/frontend/index.html index fb56fae..12e0fa4 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -112,8 +112,8 @@ -
- Impressum +
diff --git a/frontend/script.js b/frontend/script.js index b49f8f0..8f8f89e 100644 --- a/frontend/script.js +++ b/frontend/script.js @@ -230,7 +230,10 @@ function setDetailMarker(place) { async function initMainMap() { const osm = L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', { - attribution: '© OpenStreetMap', + attribution: [ + '© OpenStreetMap', + 'Impressum', + ].join(' | '), }); const map = L.map('map', { layers: [osm],