Improve map interaction, shelter selection, and offline caching
- Rework selection model so any shelter marker can be tapped to select, not just the nearest three in the bottom sheet list - Highlight selected shelter with a distinct amber marker icon - Track user map interaction (pan/zoom) to prevent auto-recentering - Add reset navigation FAB to re-fit map to user + selected shelter - Add offline map cache prompt (OK/Skip) with warning banner and retry - Rewrite MapCacheManager to use passive tile caching via map panning - Respect system status bar with fitsSystemWindows Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
27cad094e7
commit
92531ee971
9 changed files with 373 additions and 112 deletions
|
|
@ -14,6 +14,7 @@
|
|||
<!-- Lasteskjerm -->
|
||||
<string name="loading_shelters">Lastar ned tilfluktsromdata…</string>
|
||||
<string name="loading_map">Lagrar kartfliser…</string>
|
||||
<string name="loading_map_explanation">Førebur fråkopla kart.\nKartet vil rulle kort for å lagre omgjevnadene dine.</string>
|
||||
<string name="loading_first_time">Gjer klar for fyrste gongs bruk…</string>
|
||||
|
||||
<!-- Tilfluktsrominfo -->
|
||||
|
|
@ -25,6 +26,11 @@
|
|||
<!-- Handlingar -->
|
||||
<string name="action_refresh">Oppdater data</string>
|
||||
<string name="action_toggle_view">Byt mellom kart og kompassvising</string>
|
||||
<string name="action_skip">Hopp over</string>
|
||||
<string name="action_cache_ok">Lagre kart</string>
|
||||
<string name="action_cache_now">Lagre no</string>
|
||||
<string name="action_reset_navigation">Tilbakestill navigasjonsvising</string>
|
||||
<string name="warning_no_map_cache">Ingen fråkopla kart lagra. Kartet krev internett.</string>
|
||||
|
||||
<!-- Løyve -->
|
||||
<string name="permission_location_title">Posisjonsløyve krevst</string>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue