Compatible XF Versions
2.2
Visible Branding
No
Description:
Shows GPX attachments in a Google map.

(Example of GPX viewer button)

192120


(Example of GPX viewer)

192115


(Example of Options page)

192116


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:

Use API Keys | Maps JavaScript API | Google Developers

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.

192117


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

More resources from XenForo

Latest updates

  1. See description

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

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