- Under the location fields: the fields' width, 160 pt, zoom 14 (or the
source's max), the photo's pin (kept on the map near the poles) and the tile
credit. The active photo's place with several selected; no map without a
valid position. A click opens the Map view centred there.
- Show on Map becomes Open in Browser (same widget id, still openstreetmap.org).
- It draws with the Map view's tile service and textures (tiles::draw, ring 0)
and only while on screen: with the Info panel closed or the map below the
panel's fold, nothing is wanted, so nothing is fetched for it. Offline: grey,
the pin, "Map tiles are off" (now at the top of a short map).
- The tile texture store moves from a process-wide static into the egui
context's memory, so each window (and each headless test) has its own;
parallel tests no longer roll each other's wanted tiles.
- map.state reports miniMap {photo, lat, lon, zoom, rect, pin, tiles};
widgets info:miniMap, info:miniMapAttribution.
- Tests (tests/map_info.rs, fake tile server): pin and credit, active photo
with several selected, no GPS, near the pole, a click to the Map view with
no tile fetched twice, nothing wanted off screen or below the fold, offline,
and keep_on_map on tiny and non-finite input.
- Docs: map.md "Info panel map", control protocol, LR-MAP-INFO ✅; two strings
in all 17 catalogs.
Ported in spirit from PR #804 by Jason Baldwin.
Co-Authored-By: Jason Baldwin <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>