Difference between revisions of "Template:Show gpx"

From BITPlan E-Bike Wiki
Jump to navigation Jump to search
Line 12: Line 12:
 
* gpx: URL to GPX file (required)
 
* gpx: URL to GPX file (required)
  
Example:
+
'''Example:'''
 
{{Show_gpx|gpx=https://www.topografix.com/fells_loop.gpx}}
 
{{Show_gpx|gpx=https://www.topografix.com/fells_loop.gpx}}
 
</noinclude>
 
</noinclude>
Line 25: Line 25:
 
     src="https://www.gpsvisualizer.com/atlas/map?url={{urlencode:{{{gpx|}}}}}">
 
     src="https://www.gpsvisualizer.com/atlas/map?url={{urlencode:{{{gpx|}}}}}">
 
</iframe>
 
</iframe>
</html></includeonly>
+
</html>
 +
[https://www.gpsvisualizer.com/atlas/map?url={{urlencode:{{{gpx|}}}}} map of {{{gpx|}}}}}]</includeonly>

Revision as of 08:49, 18 January 2025

This template embeds a GPX track viewer.

see e.g. https://www.gpsvisualizer.com/atlas/map?url=https://www.topografix.com/fells_loop.gpx

Usage:

{{Show_gpx|gpx=https://www.topografix.com/fells_loop.gpx}}

Parameters:

  • gpx: URL to GPX file (required)

Example:

map of https://www.topografix.com/fells_loop.gpx}}