Theme editor

Welcome to XFMISFITS.COM

Join our community to access exclusive content, participate in discussions, and connect with like-minded individuals. We offer resources, products, and dedicated support to help you succeed.

Our recent members

XF 2.3 [AndyB] GPX viewer 2.4

Twisted

Administrator
Staff member
Joined
May 9, 2025
Messages
109
Reaction score
0
Points
16
Thread owner
Description:

Shows GPX attachments in a Google map.

(Example of GPX viewer button)

4159



(Example of GPX viewer)

4153



(Example of Options page)

4154



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.

4155



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.
 

Attachments

Back
Top