View a map with TCX and GPX files overlayed on it.
-
First, place all the .tcx and .gpx files in a folder within this directory called
input. -
Next, get an API token from Thunderforest by signing up for a free account. In
plot.js, replace{YOUR_API_KEY}with your API token. Alternatively, you can use any other free or paid tile server, just be sure to replacetileUrlTemplateandtileAttributioninplot.js -
Then, ensure you have cargo and rust installed. Then, in this directory, run
cargo run --releaseThis will read each of the GPX and TCX files and convert them to data that can be plotted on a map. After this process has completed, open
index.htmlin a browser to view your map.
