Lightweight browser app that renders a Travel Mapping user's traveled highway segments on a Leaflet map.
This is deployed as a GitHub page! Access the app here: https://yqt1001.github.io/TravelMappingUserMap/
- Takes a Travel Mapping username.
- Loads compact local per-user JSON generated from the TravelMapping master graph.
- Draws that user's traveled graph.
- Supports shareable links with
?user=<username>.
- Generate compact
data/tmg-users/<username>.jsonfrom the traveled TMG file. - Enter that username in the app.
- App decodes and renders polylines in batches (worker-enabled when available).
From the project root:
- Generate local user data:
node scripts/build-tmg-user-json.mjs --user=<username>
- Start a local web server (not
file://):python -m http.server 8080
- Open:
http://localhost:8080
Advanced build script details are in scripts/README.md.
- App code (
index.html,index.js, scripts) is licensed under the MIT License. SeeLICENSE. - Both highway and user data used by this project is from TravelMapping and is redistributed here in transformed JSON outputs.
- Data attribution statement:
- "This project uses highway data from the TravelMapping project. The data has been modified from its original format for optimization. This work is licensed under CC BY-SA 4.0."
- Change notice:
- Data is transformed from TravelMapping source formats into
data/tmg-usersJSON outputs.
- Data is transformed from TravelMapping source formats into