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