Compatible XF Versions
2.3
Visible Branding
No
Description:

Shows GPX attachments in a Google map.

(Example of GPX viewer button)

1745849381153.png


(Example of GPX viewer)

1745849365073.png


(Example of Options page)

1745849357063.png


Features:
  1. GPX viewer button automatically inserted into message.
  2. All phrases start with gpxviewer_ for your convenience.
Setup:

Get your Google API key using this link:

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

Update the Options page with your Google API key.

How to use:

When a member uploads a GPX attachment and saves the message, the add-on will automatically insert a button into the message labeled GPX viewer. Clicking this button will bring up a Google map with the GPX displayed.

BB code explained:

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

1745849340818.png


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.

Questions and answers:

Q: What types of GPX files are supported?
A: Those which contain tracks and or waypoints.
  • Like
Reactions: kochevnik and Aram
Author
XenForo
Views
First release
Last update
Rating
0.00 star(s) 0 ratings

Latest updates

  1. AndyB GPX viewer 2.4

    GPX viewer v2.4 changes: Fixed issue with file_hash and file_key fields.
  2. See description

    GPX viewer v2.3 changes: Improved handling of GPX files.
  3. See description

    GPX viewer v2.2 changes: Now compatible with PHP 8
Back
Top Bottom