A Mapbox GL JS project that displays noexif geotagging media images and videos on an OpenStreetMap (OSM) base layer.
noexif_geotagging/
├── maptool.html # Main geotagging tool (the actual application)
├── index.html # Simple guide and instructions
├── css/
│ └── styles.css # CSS styles for the map and markers
├── js/
│ └── map.js # JavaScript functionality
├── example_media/ # Folder containing example media files
├── media_coordinates.json # Generated file with media coordinates
└── README.md # This file
- OSM Base Map: Uses OpenStreetMap tiles for the base layer
- Noexif Geotagging Media Display: Shows images and videos at their GPS coordinates
- Interactive Markers: Click markers to view media in popups
- Media Support: Displays both images and videos with controls
- Navigation Controls: Zoom, pan, fullscreen, and scale controls
- Responsive Design: Works on desktop and mobile devices
- Manual Coordinate Assignment: Click on the map to assign GPS coordinates to media files
- GPX Track Support: Load and display GPX walking tracks on the map
-
Get a Mapbox Access Token:
- Go to https://account.mapbox.com
- Create an account or sign in
- Generate an access token
-
Update the Access Token:
- Open
js/map.js - Replace the access token with your actual Mapbox access token
- Open
-
Add Your Media Files:
- Use the web interface to select media files
- Click on the map to assign GPS coordinates to each file
- Load GPX tracks to help with coordinate assignment
-
Run the Project:
- Open
maptool.htmlin a web browser (main application) - Open
index.htmlfor a simple guide - Or serve the files using a local web server
- Open
- Images: JPG, JPEG, PNG, BMP, TIFF
- Videos: MP4, AVI, MOV, MKV
- Mapbox GL JS v3.14.0 (loaded via CDN)
- Modern web browser with JavaScript enabled
- OpenStreetMap tiles (free, no API key required)
- Assign Coordinates: Select media files, then click on the map to assign GPS coordinates
- Load GPX Tracks: Upload GPX files to display walking tracks on the map
- View Media: Click on markers to open popups with images/videos
- Navigate: Use mouse/touch to pan and zoom
- Controls: Use the navigation controls for zoom in/out and fullscreen
- Scale: View the map scale in the bottom-left corner