summaryrefslogtreecommitdiff
path: root/Cargo.lock
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2026-10-27 14:54:05 +0100
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2026-10-27 14:54:22 +0100
commitf91431fefa0418b80dea1246aecac2c6a9dfc416 (patch)
treee0366a87ca243cf1292936ebe44807b301fbc392 /Cargo.lock
parentf519a707e32679ec512518afc3c56eeec03c260a (diff)
web: GPX track loading
- core: track::load_gpx_from_bytes (path wrapper delegates to it; same hardening: size cap, no entity expansion, direct-child <ele>) - sidebar: 'Load GPX Track…' button + hidden .gpx file input; the track swaps in via remove_hills(FLAG_TRACK_POINT) + add_hills, so marker hill indices never shift (track hills always live at the end of the hill list) - rendering: desktop parity — consecutive visible points joined with round-cap strokes, width = scale*track_width/(dist_m*10) clamped to [1,1000] image px, red (blue when hidden by terrain); a Track width slider (50-1000 m, default 200) appears in Display once a track is loaded - track points and duplicates are excluded from guide dots, hover and click hit-testing (they are scenery, not markable peaks)
Diffstat (limited to 'Cargo.lock')
0 files changed, 0 insertions, 0 deletions