Difference between revisions of "Template:Show gpx"

From BITPlan E-Bike Wiki
Jump to navigation Jump to search
Line 17: Line 17:
 
<includeonly>* [https://www.gpsvisualizer.com/atlas/map?url={{urlencode:{{{gpx|}}}}} gpxvisualizer.com {{{gpx|}}}]
 
<includeonly>* [https://www.gpsvisualizer.com/atlas/map?url={{urlencode:{{{gpx|}}}}} gpxvisualizer.com {{{gpx|}}}]
 
*[https://gpx.bitplan.com/?gpx={{{gpx|}}}&auth_token=39f40ac94615c72d709310ce gpx.bitplan.com {{{gpx|}}}]
 
*[https://gpx.bitplan.com/?gpx={{{gpx|}}}&auth_token=39f40ac94615c72d709310ce gpx.bitplan.com {{{gpx|}}}]
<html>
+
{{#tag:iframe
<iframe  
+
| width="800"  
    width="800"  
+
  height="500"  
    height="500"  
+
  frameborder="0"  
    frameborder="0"  
+
  scrolling="no"  
    scrolling="no"  
+
  marginheight="0"  
    marginheight="0"  
+
  marginwidth="0"  
    marginwidth="0"  
+
  src="https://gpx.bitplan.com/?gpx={{urlencode:{{{gpx|}}}}}&auth_token=39f40ac94615c72d709310ce"
    src="https://gpx.bitplan.com/?gpx={{{gpx|}}}&auth_token=39f40ac94615c72d709310ce">
+
}}
</iframe>
 
</html>
 
 
</includeonly>
 
</includeonly>

Revision as of 10:05, 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:

<iframe> width="800"

 height="500" 
 frameborder="0" 
 scrolling="no" 
 marginheight="0" 
 marginwidth="0" 
 src="https://gpx.bitplan.com/?gpx=https%3A%2F%2Fwww.topografix.com%2Ffells_loop.gpx&auth_token=39f40ac94615c72d709310ce"

</iframe>