This commit is contained in:
vcoppe
2026-10-04 17:29:57 +02:00
parent 594d714b7f
commit c536e6247b
8 changed files with 89 additions and 82 deletions
+4 -2
View File
@@ -449,10 +449,12 @@ class Engine {
);
}
/** Changes the selected waypoints. Empty strings remove the field. */
updateWaypoint(waypoint: NewWaypoint) {
/** Changes a waypoint, selected or not. Empty strings remove the field. */
updateWaypoint(fileId: string, waypointId: string, waypoint: NewWaypoint) {
return this.run((w) =>
w.update_waypoint(
fileId,
waypointId,
waypoint.lng,
waypoint.lat,
waypoint.ele,