Driving menu Trip: the stops as big rows (look, ✓ passed, ↑ ↓, ✕), a stop at the crosshair, the start at the car, search of saved points and offline places; each leg's km and time (legs_s) and the total, in the route panel too; passed stops kept (not routed, dimmed, editable) — a reroute marks them instead of dropping them; /status.html: every status endpoint full width (the debug panel links it); the trip-as-plan-and-log model and planned-vs-driven colors in docs/TODO
This commit is contained in:
1 parent
0eb9d05cdc
commit
809e88ab1a
14 files changed
+517
-101
No files matched your search
+3
-2
@@ -532,7 +532,6 @@ nightButton.addEventListener("click", () => {
|
||||
updateNight();
|
||||
map.on("moveend", updateNight);
|
||||
setInterval(updateNight, 60000);
|
||||
setupDriving(map, nightButton);
|
||||
|
||||
const sidebar = document.getElementById("sidebar");
|
||||
|
||||
@@ -562,7 +561,9 @@ if (isLoggedIn()) new PluginsControl(map).mount(sidebar);
|
||||
sidebar.insertAdjacentHTML("beforeend", `<div class="sidebar-group-label" title="Offline hub"></div>`);
|
||||
layerToggle.mount(sidebar);
|
||||
layerToggle.setActive("online");
|
||||
new RoutePanelControl(map, gnssControl, profilePanel).mount(sidebar);
|
||||
const routePanel = new RoutePanelControl(map, gnssControl, profilePanel);
|
||||
routePanel.mount(sidebar);
|
||||
setupDriving(map, nightButton, routePanel);
|
||||
new OfflineDataControl().mount(sidebar);
|
||||
|
||||
sidebar.insertAdjacentHTML("beforeend", `<div class="sidebar-group-label" title="Navigation"></div>`);
|
||||
|
||||
Reference in new issue
Block a user