• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.
GPX viewer

GPX viewer 1.1

No permission to buy ($25.00)
Compatible XF 2.x versions
2.0
Premium upgrade:

This XF2 add-on along with the entire collection can be purchased for $25.00 USD. Your Premium upgrade will allow you to download as many XF2 add-ons as you like for one year. Please see the entire collection located in the Resources area at this URL:

https://www.xf2addons.com/

Note: all my XF1 add-ons are still 100% free and are supported by donations.

Description:

Shows GPX attachments in a Google map.

(Example of GPX viewer button in a message)

pic001.jpg


(Example of GPX viewer)

pic002.jpg


Features:
  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.
Installation:
  1. Download Andy-GPXViewer-1.1.zip and unzip it.
  2. Copy the src/addons/Andy/GPXViewer directory to your server.
  3. From the Admin Control Panel Install the add-on.
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:

https://developers.google.com/maps/documentation/javascript/get-api-key

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

Setup step 3:

Edit the Custom BB code.

Admin Control Panel -> Custom BB Codes -> map -> HTML replacement

Update to the URL of your gpxviewer.php file.

BB code explained:

The following BB code example is automatically inserted into the message when there's a GPX attachment.

pic003.jpg


The number 12345 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.
Author
AndyB
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from AndyB

Latest updates

  1. See description

    GPX Viewer v1.1 changes: Updated addon.json file.