Skip to content

Conversation

@victoryforphil
Copy link
Contributor

Add MapLibre-based map view for GPS metadata in file previews and a dedicated map page.

This addresses Linear issue H20-18, enabling the display of GPS metadata from files in a map viewer, including small previews within file details and a comprehensive map page to browse all available GPS points.


Linear Issue: H20-18

Open in Cursor Open in Web

This commit introduces a new map view and integrates GPS metadata extraction for images. It includes:

- **MapLibre GL JS integration**: Added `maplibre-gl` dependency and a reusable `MapMini` component.
- **Navigation update**: Included a "Map" link in the app navigation.
- **File preview enhancement**: Displays a mini-map for images with GPS coordinates in the file preview.
- **API endpoints**: Created `/api/files/gps` and `/api/files/gps-list` to fetch GPS data from MinIO.
- **New Map page**: A dedicated page (`/map`) to display all available GPS points on a map.

Co-authored-by: victoryforphil <victoryforphil@gmail.com>
@cursor
Copy link

cursor bot commented Sep 20, 2025

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

@linear
Copy link

linear bot commented Sep 20, 2025

H20-18 Map view for file

@victoryforphil victoryforphil marked this pull request as ready for review September 20, 2025 04:29
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.

3 participants