Skip to content

Add marker location editing back in - #1122

Merged
davecraig merged 3 commits into
Scottish-Tech-Army:mainfrom
davecraig:main
Sep 28, 2026
Merged

davecraig merged 3 commits into
Scottish-Tech-Army:mainfrom
davecraig:main

Conversation

@davecraig

Copy link
Copy Markdown
Contributor

No description provided.

davecraig and others added 3 commits September 28, 2026 16:53
AndroidOfflineMapsManager wrote an extract's metadata sidecar before the
download started, under a new timestamped name each time, and a download
that failed or was cancelled only cleaned up its .downloading file. The
sidecars stayed on the phone forever with no extract next to them - one
test phone had six (two for Helsinki) and no extracts at all.

The downloader now writes the sidecar itself, only once the extract is
published, as the shared OfflineMapManager already does. Sidecars left by
earlier versions are deleted when the downloaded list is refreshed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01THRgoVbh1G3pVacd7csDqJ
They're off Craigmillar Avenue near the James Gale Memorial, about 1km
from Milngavie station - not by the station, as the comment (and the
commit message of fff466c) wrongly said.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01THRgoVbh1G3pVacd7csDqJ
Moving a marker by panning the full-screen map was lost in the move to
the shared screen: MapContainerLibre's editBeaconLocation flag was no
longer passed through PlatformMapContainer, and the screen always saved
the original location.

The map now takes an onBeaconLocationEdited callback which pins the
marker to the camera centre and reports each new position, instead of
mutating the caller's LngLatAlt during composition. Editing the location
is a distinct mode with its own title, instructions and Cancel/Done (and
system back cancels); the FAB and Delete Marker button are hidden while
in it, and the FAB uses an edit-location icon. The now unused
location_detail_exit_full_screen_for_edit_hint string is removed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01THRgoVbh1G3pVacd7csDqJ
@davecraig
davecraig merged commit 0179969 into Scottish-Tech-Army:main Sep 28, 2026
4 checks passed

This branch was successfully deployed

1 active deployment
development — 73b61633 Deployed Sep 28, 2026 by davecraig via Build and test iOS app #1563
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant