GPX Viewer

GPX Viewer 1.3

No permission to download
Compatible XF 1.x versions
1.2, 1.3, 1.4, 1.5

Shows GPX files in a Google map.

(Example of GPX Viewer button)


(Example of GPX Viewer)



  1. Large easy to use Google map displayed full screen.
  2. Responsive code supports all devices.
  3. GPX Viewer button automatically inserted into message.
  4. All phrases start with gpxviewer_ for your convenience.
  1. Download and unzip it.
  2. Upload the Andy folder to your server. The correct location is library/Andy.
  3. From your Admin Control Panel, go to the "Install Add-on" page.
  4. Upload the addon-GPXViewer_v1.3.xml file.
  5. Click the Install Add-on button.
Setup step 1:

Copy the gpxviewer.php file from the add-on directory to a web viewable directory of your choice, for example a /misc/ folder.

Edit the gpxviewer.php file and change the first few variables to reflect your forums information.

Setup step 2:

Get your Google API key using this link:

Update the gpxviewer.php file variable called $key located on the top of the file.

Setup step 3:

Edit the GPX Custom BB Code, change the HTML Replacement to your forum URL and location of the gpxviewer.php file.

BB Code explained:

The following BB Code example is automatically inserted into the message:
[GPX=463840;10]GPX Viewer[/GPX]
The number 463840 is the attachment number and the number 10 is the zoom level. After the BB Code is added to the post one can edit the post and change the zoom level from any number between 1 and 17, changing this number will change the initial zoom level.

Sending a donation:

If you like this add-on, please consider sending a small donation.

Thank you.
Reactions: DFI
First release
Last update
5.00 star(s) 1 ratings

More resources from AndyB

  • History
    Displays a history of previously viewed threads.
  • Email search
    Email search
    Find members by email address.
  • Poll permissions
    Poll permissions
    Adds user group permissions to Post a poll.
  • Quick search
    Quick search
    Quickly find threads in a forum.
  • Ban thread
    Ban thread
    When a ban is issued, a new thread is automatically created for staff members.

Latest updates

  1. See description

    GPX Viewer v1.3 changes: Updated PHP file.
  2. See description

    GPX Viewer v1.2 changes: Updated PHP code.
  3. See description

    GPX Viewer v1.1 changes: Updated gpxviewer.php code.

Latest reviews

While it takes a little editing (of a configuration file) to set this add-on up by the administrator, it's well worth the effort as the results are stunning. And for your users, it's village-idiot simple. Just upload a GPX file and save the post, AndyB's add-on does all the heavy-lifting involved to create beautifully detailed maps of any route.