Alltrails, Gaia GPS, and Google Maps provide a huge library of GPS-enabled maps you can use if you prepare ahead of time. If you forget to download the trail before you leave the house or you choose a new trail, you're out of luck. I take a picture of the trail map at the trailhead and try to keep track of my progress as I walk, but I often lose my place.
Trailhead turns any image into a GPS-enabled map: it provides a pin that shows your current location as you walk.
Just a few setup steps:
- At the trailhead, select your current position on the map.
- Walk to the first fork in the trail, and select your current position on the map.
- That's it! Enjoy the hike!
demo-trailhead.large.mp4
Trailhead is a Progressive Web App. It caches itself on your phone so you can use it offline, including any maps you've saved from previous hikes.
Consider adding it to your homescreen for an app-like experience (iOS / Android).
Trailhead works offline, but there are a few rough edges.
- β Allow Users to Add More than 2 Pins
- β Create Prompts to Guide First-time Users
Place a Trailhead QR code on trail maps so hikers can rapidly access pre-configured maps.
Create printable trail maps that already contain configuration information on them. Just add the picture and Trailhead reads the configuration off the map.
Want to host Trailhead yourself?
First, run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
Open http://localhost:3000 with your browser to see the result.