From 6a3e49fd0edd70a1357e6b04a3fc838d9aa54067 Mon Sep 17 00:00:00 2001 From: ISA Date: Wed, 17 Apr 2024 07:15:45 +0200 Subject: [PATCH] GisStationsStaticDistrict Meldungen in Marker-Popup --- components/MapComponent.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/components/MapComponent.js b/components/MapComponent.js index 76f01f0e7..25c36b41f 100644 --- a/components/MapComponent.js +++ b/components/MapComponent.js @@ -716,7 +716,9 @@ const MapComponent = ({ locations, onLocationUpdate }) => { }); // Ein Popup mit Informationen zur Station hinzufügen marker - .bindPopup(`${station.LD_Name}
${station.Device}`) + .bindPopup( + `${station.LD_Name}
${station.Device}
${station.Area_Short} ${station.Area_Name}
${station.Location_Short} ${station.Location_Name}

` + ) .openPopup(); // Diese Zeile entfernt das automatische Tooltip