fixes wp marker removal

This commit is contained in:
Christian Beutel
2025-03-14 19:01:02 +01:00
parent 4ad1cf3e09
commit 2e6ae6f934
2 changed files with 5 additions and 1 deletions

View File

@@ -72,6 +72,7 @@ export function createMarkerFromWaypoint(waypoint: Waypoint, onDragEnd?: (marker
marker.on("dragend", () => onDragEnd(marker, waypoint.id,));
}
waypoint.marker = marker
return marker;
}