navigation_plan.svelte — Navigation Plan
A drag-and-drop ordered list of navigation waypoints using svelte-dnd-action. Reads from and writes to the waypoints, startPoint, and endPoint stores in stores/map.ts.
The list always starts with a fixed Starting Point card and ends with a fixed End Point card. Between them the operator can add intermediate waypoints and reorder them by dragging. Each waypoint has a delete button.
The Add Map File button opens a native file picker (filtered to JSON, GeoJSON, TXT, JPEG) and calls invoke("import_map_file") to copy the selected file into the app's maps/ directory, where the map component can then find it.
The Plan Route button is a stub ready to be connected to actual route planning logic.