From review on #4243:
- Opening another library resets the Map view's state that names the old one's
photos or saved locations (MapUi::library_changed): ids are per library, so B's
location 3 no longer inherits A's Delete… confirmation.
- A GPX is read with lossy UTF-8 again: a stray Latin-1 byte in a track name no
longer refuses the file (photo.autoTagTracklog always read it that way). The
50 MB cap stays: the Map view keeps the whole parsed log in memory.
- The navigator counts each saved location's photos with one PositionIndex (its
band of latitudes, not every point), and a rating or label change, which
rebuilds the points without moving any, no longer counts them again.
- map.filterPhotos reads positions through valid_gps (an out-of-range one is
untagged, as in the Map view and Has GPS); `bounds` is documented as the area of
mode "visible".
- A 200 marked no-store takes an older copy of the tile off the disk.
- map.setView: the doc comment, message and docs say what is applied (0…24,
shown within the map style's range).
- act takes the map's view as one argument instead of silencing the lint.
- The Map view's interface surfaces (notes, hover card, filter bar, toolbar,
legend, loupe card, navigator, saved-locations text) use the theme's tokens; the
marks drawn on the map's tiles (pins, badges, credit plate, circles, track) are
named constants, the tiles being pictures no theme changes.
- docs/map.md: the Map view itself isn't covered by private locations (the
offline map style keeps it off the network).
- rules_editor: value_editor's doc comment back on it.
- pick_flow_tests: the bottom bar's focus order includes the Map view button.