Route elevation profile (climb, descent, max grade) from the terrain tiles, and reach (isochrones) in the route panel

This commit is contained in:
randy committed 2026-11-13 22:55:55 +01:00
1 parent b80575828a
commit cca985d2b9
10 files changed
+274 -26

No files matched your search

+13
View File
@@ -121,10 +121,23 @@
<button type="button" data-action="save" hidden>Save to library</button>
</div>
<p class="route-panel__summary"></p>
<button type="button" class="route-panel__profile" hidden>Elevation profile</button>
<details class="route-panel__directions" hidden>
<summary>Directions</summary>
<ol></ol>
</details>
<div class="route-panel__reach">
<span>Reach in</span>
<select>
<option value="30">30 min</option>
<option value="60" selected>1 h</option>
<option value="120">2 h</option>
<option value="30,60,120">30 min · 1 h · 2 h</option>
</select>
<button type="button" data-action="reach">Show</button>
<button type="button" data-action="reach-clear" hidden>Hide</button>
</div>
<p class="route-panel__reach-status" hidden></p>
<fieldset class="route-panel__vehicle">
<legend>Vehicle</legend>
<label>Height <input type="number" name="height" step="0.1" min="1" max="6"> m</label>