Skip to content
map2gpx lets you trace paths on maps (for hiking for instance) and export them to GPX or KML formats.
HTML JavaScript PHP CSS
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.vscode
ico
src
.eslintrc.json
.gitignore
LICENSE.md
README.md
fetch.php
gulpfile.js
index-en.html
index-fr.html
map2gpx.png
package-lock.json
package.json
screenshot.png
slope.php

README.md

map2gpx

Demo

For the French version, see map2gpx.fr. For the international version, see map2gpx.eu.

How to rebuild

Pre-requisites:

  1. Install nodejs
  2. In the checkout, install the dependencies: npm install
  3. Web-server with PHP installed

Rebuild:

  • gulp pack just re-bundle and generate www-fr and www-en folders.

Generated files

Output comes in two flavors:

  • www-fr to use GeoPortail maps and APIs (only available in France) - driven by index-fr.html
    • You will need your own API key if you want to test/run it
  • www-en to use services available worldwide (maps from OpenStreetMap, Thunderforest, OpenTopoMap, Hike & Bike, Hillshading and APIs from MapQuest, GrapHopper) - driven by index-en.html
    • Thunderforest, MapQuest and GraphHopper requires API keys. Even if the API keys provided here may work for you, please use your own API key if you to test/run it

Customize

If you want to add more services, feel free to create an issue, submit a pull request, or even fork the project and run it by yourself.

You can’t perform that action at this time.