|
- click away from a dot now opens a Find Peak list (candidates within
60 px, sorted by distance, name/height/pixel-offset labels) — the
desktop dialog equivalent for crowded ridgelines
- sliders update on input, not on release
- fit is graduated like the original: 1 marker fits the center angle,
2 add scale, 4+ the full viewpoint (removed the >=4 gate)
- image load now re-fits once more 120 ms after the first paint
(same nudge as the desktop app) so the picture never stays hidden
|
|
- fetch gipfel.dat.gz at startup, gunzip (flate2, pure Rust) and load
into a Panorama held in app state
- image loads now also parse the gipfel JPEG comment / EXIF and set the
viewpoint via apply_image_metadata (same path as desktop)
- markers: click a visible-peak guide dot to mark it, drag to adjust,
right-click to remove; refit (comp_params_with, distortion locked by
default) after every change once >= 4 markers
- sidebar: fit-distortion toggle, marker/zoom readout, fitted
az/pitch/roll/scale line
- canvas: guide dots for visible peaks, red crosses + shadowed labels
- serve-here.sh: dev helper (cargo build --target wasm32 + wasm-bindgen
+ gzip the DB into the static dist dir)
Verified: cargo check clean for wasm32; runtime to be confirmed in
browser against a gipfel-saved photo (W2 acceptance: fit must match
the desktop result on the same image).
|