GPX Viewer

GPX Viewer 1.3

No permission to download

AndyB

Well-known member
#1
AndyB submitted a new resource:

GPX Viewer - Shows GPX files in a Google map.

Description:

Shows GPX files in a Google map.

(Example of GPX Viewer button)

View attachment 121082

(Example of GPX Viewer)

View attachment 121083
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 gpxviewer_v1.0.zip and unzip it....
Read more about this resource...
 
#4
Thx for this addon, it's really good! I have some ideas for make it better:
1. link from map page must route to thread page, not to homepage.
2. i think its really usable to put map on the thread page, not in new tab.

if you think its good maybe you make this.
 
#5
After install this addon and copy the gpxviewer.php file from the add-on directory to the /misc/ folder i have trouble with view of all pictures attachments, which have the error:
Not Found
The requested URL /misc/lightbox was not found on this server.

What i do wrong? What can i do to resolve this trouble?

thx.
 

adwade

Well-known member
#6
Just a heads-up for others, when I installed the add-on I was getting an Error (108).

Don't overlook the Setup Steps (on the add-on's Overview page), especially this:
Edit the gpxviewer.php file and change the first few variables to reflect your forums information.
When I revised the file, I did not have my Attachments directory path correct. :oops:

After I revised this:
PHP:
// path to attachments directory
$attachments_path = '/home/path/public_html/attachments/';
To this:
PHP:
// path to attachments directory
$attachments_path = '/home/mypath/public_html/forums/internal_data/attachments/';
The error went away and it worked perfectly! (y)
 
#8
Hi Andy,

after installing it, I got this error:

This page didn't load Google Maps correctly. See the JavaScript console for technical details.

The problem was the missing Google Maps Api key.
I created it on google, and I added this code into gpxviewer.php:

Code:
<script async defer src="https://maps.googleapis.com/maps/api/js?key=MYKEY&callback=initMap"
type="text/javascript"></script>
Now it's working
 
Top