Phase 4: history view with reverse geocoding

3-section layout (15/70/15) for browsing recorded events.
Reverse-geocodes coordinates via Photon API with Haversine
distance check and address caching. Also adds simulator GPS
polling fallback (Position.getInfo) since the simulator does
not fire location event callbacks.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
EiSiMo 2026-04-13 14:31:44 +02:00
parent 025d3007db
commit 902121bd42
7 changed files with 368 additions and 11 deletions

View file

@ -28,7 +28,8 @@ class MenuDelegate extends WatchUi.BehaviorDelegate {
var key = item[:key] as String;
if (key.equals(Config.ACTION_HISTORY)) {
// Phase 4
var view = new HistoryView();
WatchUi.pushView(view, new HistoryDelegate(view), WatchUi.SLIDE_LEFT);
return true;
}
if (key.equals(Config.ACTION_DELETE)) {