Route panel: points from search, GPS and library points, reordering, editing a saved route

This commit is contained in:
randy committed 2026-11-13 22:37:49 +01:00
1 parent 3146478c23
commit abde7fe5f9
10 files changed
+214 -25

No files matched your search

+7 -2
View File
@@ -144,8 +144,13 @@ serving swaps the tiles in, and a truck route with dimensions comes back.
the "Routes" folder through the notes endpoint, with its points (`via`)
and vehicle in `properties`. That way it goes to OsmAnd/Locus through
the same export as everything else.
* Not yet: adding a point from search, GPS or a library point; reordering
points; editing a saved route again.
* Points also come from "+" on a search result, "Add to route" in a
library point's popup, or "+ My position" (the GNSS fix, else the
browser's position). These go through events in `panels.js`, the same
way the library refresh does. ↑/↓ reorder points.
* "Edit route" in a saved route's menu in the tree loads its points
back. Save then updates that item instead of adding a copy. A route
imported from GPX has no `via`, so it can't be edited this way.
== Phases