Google Maps saved lists from a scheduled Google Takeout: hourly check of TAKEOUT_DIR (brick's Drive backup, mounted read-only), the zip with Takeout/Saved/*.csv picked by its central directory (photo parts skipped), each list into Google Maps/<list>; positions decoded offline from the place's S2 feature id and refined by Nominatim, unresolved ones flagged approximate in the popup (cleared when moved by hand); points matched by Google id per folder, so a new export updates them (own color/icon/position kept, deleted stay deleted)
CI / check (push) Successful in 8m56s
CI / deploy (push) Successful in 38s

This commit is contained in:
randy committed 2026-11-25 15:10:30 +01:00
1 parent 261b4c053e
commit 0aee739ac3
9 files changed
+306 -1

No files matched your search

+3 -1
View File
@@ -1505,7 +1505,7 @@ function nodeKeys(node) {
// for — see _registerPointInteractivity) adds Edit/Delete buttons; the
// click handling for them lives in _wireNoteActions, not here, since this
// only builds markup, it has no map/store access of its own.
function popupHtml({ name, description, time, category, photos, icon }, { editable = false, movable = false } = {}) {
function popupHtml({ name, description, time, category, photos, icon, approximate }, { editable = false, movable = false } = {}) {
const parts = [];
if (name) {
const glyph = icon && POI_ICONS[icon] ? `<span class="gpx-popup__header-icon">${POI_ICONS[icon]}</span>` : "";
@@ -1513,6 +1513,8 @@ function popupHtml({ name, description, time, category, photos, icon }, { editab
}
if (category) parts.push(`<p class="gpx-popup__category">${escapeHtml(category)}</p>`);
if (photos?.length > 0) parts.push(formatPhotos(photos));
// Google saved places Nominatim couldn't pin down (GoogleSaved).
if (approximate) parts.push(`<p class="gpx-popup__approximate">≈ Approximate position, check it</p>`);
// A Note's description is self-authored by the (logged-in) viewer, not
// uploaded/untrusted like every other description here — formatDescription
// is deliberately left alone for that untrusted case (see