Rename loadStore.js to readPoiMarkersStore.js
This commit is contained in:
@@ -573,7 +573,8 @@ const MapComponent = ({ locations, onLocationUpdate }) => {
|
||||
|
||||
// Popup binden, aber nicht automatisch öffnen
|
||||
marker.bindPopup(
|
||||
`<b>${location.description || "Unbekannt"}</b><br>Type: ${location.idPoiTyp || "N/A"}<br>Lat: ${latitude.toFixed(5)}, Lng: ${longitude.toFixed(5)}`
|
||||
//N/A oder location.idPoiTyp=0 hier soll der Name von poiTyp Tabelle kommen, also foreign key
|
||||
`<b>${location.description || "Unbekannt"}</b><br>Type: ${location.idPoiTyp || "N/A oder location.idPoiTyp=0"}<br>Lat: ${latitude.toFixed(5)}, Lng: ${longitude.toFixed(5)}`
|
||||
);
|
||||
|
||||
// Event-Handler für Mouseover und Mouseout hinzufügen
|
||||
|
||||
Reference in New Issue
Block a user