GisStationsStaticDistrict Meldungen in Marker-Popup

This commit is contained in:
ISA
2024-04-17 07:15:45 +02:00
parent 250ce923f0
commit 6a3e49fd0e

View File

@@ -716,7 +716,9 @@ const MapComponent = ({ locations, onLocationUpdate }) => {
});
// Ein Popup mit Informationen zur Station hinzufügen
marker
.bindPopup(`<b>${station.LD_Name}</b><br>${station.Device}`)
.bindPopup(
`<b>${station.LD_Name}</b><br>${station.Device}<br>${station.Area_Short} ${station.Area_Name}<br>${station.Location_Short} ${station.Location_Name}<br><br>`
)
.openPopup();
// Diese Zeile entfernt das automatische Tooltip