Koordinaten in poiLayer in Popup entfernt, wird nicht gebraucht
This commit is contained in:
@@ -925,12 +925,20 @@ const MapComponent = ({ locations, onLocationUpdate }) => {
|
||||
|
||||
// Popup konfigurieren
|
||||
marker.bindPopup(`
|
||||
<div>
|
||||
<b class="text-xl text-black-700">${location.description || "Unbekannt"}</b><br>
|
||||
Type: ${poiTypName}<br>
|
||||
</div>
|
||||
`);
|
||||
/**
|
||||
marker.bindPopup(`
|
||||
<div>
|
||||
<b class="text-xl text-black-700">${location.description || "Unbekannt"}</b><br>
|
||||
Type: ${poiTypName}<br>
|
||||
Lat: ${latitude.toFixed(5)}, Lng: ${longitude.toFixed(5)}
|
||||
</div>
|
||||
`);
|
||||
*/
|
||||
|
||||
// Event-Handler hinzufügen
|
||||
marker.on("mouseover", function () {
|
||||
|
||||
Reference in New Issue
Block a user