Skip to content

feat(web): full-size button on the details-pane GPS map - #37

Merged
charpy4n6 merged 1 commit into
mainfrom
feat/map-detail-full-size
Sep 4, 2026
Merged

charpy4n6 merged 1 commit into
mainfrom
feat/map-detail-full-size

Conversation

@charpy4n6

Copy link
Copy Markdown
Collaborator

The details pane's GPS preview map was a fixed 220px box with no way to see it larger, unlike the file preview above it which already has a "View full size" button. Adds the same pattern to the map: a small "Full size" button in the map's top-left corner (top-right collides with MapLibre's own zoom controls) reopens it in the existing full-screen map dialog (the same one "Show current filter on the map" uses), centered and zoomed on that file's point with a marker.

  • index.html: wraps the map in .detmapwrap so the button can overlay it; .mapexp positions it top-left.
  • app.js: renderDetailMap toggles the wrapper instead of the map div directly; new openSingleMapView(f) reuses the existing #mapView/viewMap full-screen dialog without the multi-file marker layer; wired to a new #mMapFull button alongside the other details-pane button handlers.

Claude-Session: https://claude.ai/code/session_017jViEFEjvJdC1QUXN7gbdx

The details pane's GPS preview map was a fixed 220px box with no way to see
it larger, unlike the file preview above it which already has a "View full
size" button. Adds the same pattern to the map: a small "Full size" button
in the map's top-left corner (top-right collides with MapLibre's own zoom
controls) reopens it in the existing full-screen map dialog (the same one
"Show current filter on the map" uses), centered and zoomed on that file's
point with a marker.

- index.html: wraps the map in .detmapwrap so the button can overlay it;
  .mapexp positions it top-left.
- app.js: renderDetailMap toggles the wrapper instead of the map div
  directly; new openSingleMapView(f) reuses the existing #mapView/viewMap
  full-screen dialog without the multi-file marker layer; wired to a new
  #mMapFull button alongside the other details-pane button handlers.

Co-Authored-By: Claude Sonnet 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_017jViEFEjvJdC1QUXN7gbdx
@charpy4n6
charpy4n6 merged commit db8342c into main Sep 4, 2026
7 checks passed
@charpy4n6
charpy4n6 deleted the feat/map-detail-full-size branch September 5, 2026 20:09
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