mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-06-19 13:21:46 +00:00
33bb2c6863
- Collapse A2_TO_A3_BASE + let A2_TO_A3 into a single const declaration; the _BASE copy was vestigial (never read after the clone) - Add a comment explaining the table's two sources and the load-bearing invariant: countries whose Natural Earth record has ISO_A2='-99' (France, Norway) must be listed here since the runtime augmentation loop skips those features - Refactor the France-only A3-fallback test fixture into a factory helper and extend FE-PAGE-ATLAS-041 with a Norway (NOR) case via it.each - Improve atlas_country_options useMemo: rename a2 → resolvedA2 for clarity, precompute the A3→A2 reverse-lookup Map once per geoData change instead of O(n) Object.entries().find() per feature