Bicycle and foot route profiles (Valhalla bicycle/pedestrian costing); hiking trail colours in the elevation profile; power, splits and best efforts in the profile; TCX import; FIT course export
This commit is contained in:
1 parent
4c704045c5
commit
f8755ea65a
21 files changed
+634
-40
No files matched your search
+42
-7
@@ -59,12 +59,12 @@
|
||||
<strong>Tracks & Points</strong>
|
||||
<div class="gpx-panel__actions">
|
||||
<button type="button" class="gpx-panel__action" data-action="new-folder" title="New folder" aria-label="New folder"></button>
|
||||
<button type="button" class="gpx-panel__action" data-action="upload" title="Upload GPX/FIT/GeoJSON file" aria-label="Upload GPX/FIT/GeoJSON file"></button>
|
||||
<button type="button" class="gpx-panel__action" data-action="upload" title="Upload GPX/FIT/TCX/GeoJSON file" aria-label="Upload GPX/FIT/TCX/GeoJSON file"></button>
|
||||
<button type="button" class="gpx-panel__close" aria-label="Close">×</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<input type="file" class="gpx-file-input" accept=".gpx,.fit,.geojson,.zip" multiple hidden>
|
||||
<input type="file" class="gpx-file-input" accept=".gpx,.fit,.tcx,.geojson,.zip" multiple hidden>
|
||||
<p class="gpx-upload__status" hidden></p>
|
||||
|
||||
<div class="gpx-tree"></div>
|
||||
@@ -158,11 +158,46 @@
|
||||
</div>
|
||||
<fieldset class="route-panel__vehicle" hidden>
|
||||
<label class="route-panel__vehicle-name">Name <input type="text" name="name" maxlength="40"></label>
|
||||
<label>Height <input type="number" name="height" step="0.1" min="1" max="6" placeholder="–"> m</label>
|
||||
<label>Width <input type="number" name="width" step="0.1" min="1" max="4" placeholder="–"> m</label>
|
||||
<label>Length <input type="number" name="length" step="0.5" min="2" max="25" placeholder="–"> m</label>
|
||||
<label>Weight <input type="number" name="weight" step="0.1" min="0.5" max="60" placeholder="–"> t</label>
|
||||
<p class="route-panel__vehicle-hint">Empty: no limit. Over 3.5 t routes as a truck.</p>
|
||||
<label>Type
|
||||
<select name="type">
|
||||
<option value="car">Car</option>
|
||||
<option value="bicycle">Bicycle</option>
|
||||
<option value="foot">On foot</option>
|
||||
</select>
|
||||
</label>
|
||||
<!-- data-for: the types a field applies to, the rest are hidden. -->
|
||||
<label data-for="car">Height <input type="number" name="height" step="0.1" min="1" max="6" placeholder="–"> m</label>
|
||||
<label data-for="car">Width <input type="number" name="width" step="0.1" min="1" max="4" placeholder="–"> m</label>
|
||||
<label data-for="car">Length <input type="number" name="length" step="0.5" min="2" max="25" placeholder="–"> m</label>
|
||||
<label data-for="car">Weight <input type="number" name="weight" step="0.1" min="0.5" max="60" placeholder="–"> t</label>
|
||||
<label data-for="bicycle">Bike
|
||||
<select name="bicycle_type">
|
||||
<option value="Road">Road</option>
|
||||
<option value="Hybrid">Trekking</option>
|
||||
<option value="Cross">Gravel</option>
|
||||
<option value="Mountain">MTB</option>
|
||||
</select>
|
||||
</label>
|
||||
<label data-for="bicycle foot">Speed <input type="number" name="speed" step="0.5" min="1" max="60" placeholder="–"> km/h</label>
|
||||
<label data-for="bicycle foot">Hills
|
||||
<select name="hills">
|
||||
<option value="">Default</option>
|
||||
<option value="0">Avoid</option>
|
||||
<option value="1">Seek</option>
|
||||
</select>
|
||||
</label>
|
||||
<label data-for="foot">Up to
|
||||
<select name="sac">
|
||||
<option value="">T1 hiking</option>
|
||||
<option value="2">T2 mountain hiking</option>
|
||||
<option value="3">T3 demanding</option>
|
||||
<option value="4">T4 alpine</option>
|
||||
<option value="5">T5 demanding alpine</option>
|
||||
<option value="6">T6 difficult alpine</option>
|
||||
</select>
|
||||
</label>
|
||||
<p class="route-panel__vehicle-hint" data-for="car">Empty: no limit. Over 3.5 t routes as a truck.</p>
|
||||
<p class="route-panel__vehicle-hint" data-for="bicycle foot">Empty speed: the usual one for the bike or walking.</p>
|
||||
<button type="button" data-action="vehicle-add">+ New vehicle</button>
|
||||
<button type="button" data-action="vehicle-delete">Delete</button>
|
||||
</fieldset>
|
||||
|
||||
Reference in new issue
Block a user