feat: Implementierung des Bearbeitungsmodus

This commit is contained in:
ISA
2024-09-06 14:08:39 +02:00
parent af458ac270
commit 04e50c30f8
5 changed files with 112 additions and 82 deletions

View File

@@ -105,6 +105,7 @@ export const setupPOIs = async (
});
marker.on("dragend", (e) => {
console.log("Marker wurde verschoben in setupPOIs");
if (canDrag) {
const newLat = e.target.getLatLng().lat;
const newLng = e.target.getLatLng().lng;