diff --git a/components/MapComponent.js b/components/MapComponent.js index 05cab5d54..884859a22 100644 --- a/components/MapComponent.js +++ b/components/MapComponent.js @@ -925,12 +925,20 @@ const MapComponent = ({ locations, onLocationUpdate }) => { // Popup konfigurieren marker.bindPopup(` +
+ ${location.description || "Unbekannt"}
+ Type: ${poiTypName}
+
+ `); + /** + marker.bindPopup(`
${location.description || "Unbekannt"}
Type: ${poiTypName}
Lat: ${latitude.toFixed(5)}, Lng: ${longitude.toFixed(5)}
`); + */ // Event-Handler hinzufügen marker.on("mouseover", function () {