Great plugin, that first.
But after the last update I can’t upload new gpx-files. I can select them and press the button to upload, but after that nothing happens. I don’t see the selected file in my list of uploaded files.
Has something changed? What do I do wrong?
Hi,
How to put a map in a CPT (Custom Post Type) without any category?
Thanks
]]>How do you add a map to a WordPress post or page? Is there an insert button for a map that you create.
]]>Thank you for this nice plugin !
It works well in many environments, but is it possible that the map does only show on classic themes, and not on block themes ?
I did some tests with the default WP themes :
Hi: We have installed the plugin to upload gpx tracks to the site. The problem is that once uploaded we cannot reach it at the media library or obtain the link to include in shortcode
regards
]]>Hello,
Thanks for the plugin. After the last update I get nothing showed in CATEGORYS loaded page.
Thanks for your help.
Great plugin, I can’t set it up on the mobile version of my site. When I view my site with my cell phone the map remains cut in half. Is it possible to set parameters to make the map responsive?
]]>Hallo, bei der Kartenansicht wird der Name der GPX-Datei nicht angezeigt. Stattdessen steht dort Unnamed GPX. Gibt es dazu eine L?sung?<font _mstmutation=”1″></font>
]]>How I can use different map layers in osm, like the german layer ‘Radfahrerkarte’?
]]>Hi, I get the following warnings after gpx import:
Warning: Trying to access array offset on value of type bool in C:\xampp\htdocs\tourenbuch\wp-content\plugins\gpx-viewer\gpx-viewer.php on line 129
Warning: Trying to access array offset on value of type bool in C:\xampp\htdocs\tourenbuch\wp-content\plugins\gpx-viewer\gpx-viewer.php on line 130
Warning: Trying to access array offset on value of type bool in C:\xampp\htdocs\tourenbuch\wp-content\plugins\gpx-viewer\gpx-viewer.php on line 136
Warning: Trying to access array offset on value of type bool in C:\xampp\htdocs\tourenbuch\wp-content\plugins\gpx-viewer\gpx-viewer.php on line 164
Warning: Trying to access array offset on value of type bool in C:\xampp\htdocs\tourenbuch\wp-content\plugins\gpx-viewer\gpx-viewer.php on line 165
Warning: Trying to access array offset on value of type bool in C:\xampp\htdocs\tourenbuch\wp-content\plugins\gpx-viewer\gpx-viewer.php on line 166
In the gpx viewer shows the trackthe map is shown but geo data is all wrong.
Only warning messages are displayed on my blog. The gpx has been downloaded from my Garmin Oregon.
Thank you
Mathias
]]>Hello !
First of all the Plugin is great.
Is there anyway to customize the map/track window ?
The statistics part below the map isn’t shown completely, it is cut and
the data is not displayed.
Regards
Al
]]>Hi,
In the documentation, it says You can change the track color.
After installing the plugin, I do not see an option to do so.
Is it possible to change track color ?
Hello, I have implemented the GPX Viewer plugin and in principle it works fine. Thanks for the great work. I wonder if it is possible to choose map layers with latin letters and not only the original letters, e.g. in Chinese or Arabic. Is there a way to do this?
]]>Hi, i have a lot of error:
Warning: Undefined variable $track_name in /home/morichel/campingdaino.com/wp-content/plugins/gpx-viewer/gpx-viewer-main.php on line 186
Warning: Trying to access array offset on value of type bool in /home/morichel/campingdaino.com/wp-content/plugins/gpx-viewer/gpx-viewer.php on line 129
Warning: Trying to access array offset on value of type bool in /home/morichel/campingdaino.com/wp-content/plugins/gpx-viewer/gpx-viewer.php on line 130
Warning: Trying to access array offset on value of type bool in /home/morichel/campingdaino.com/wp-content/plugins/gpx-viewer/gpx-viewer.php on line 136
Warning: Trying to access array offset on value of type bool in /home/morichel/campingdaino.com/wp-content/plugins/gpx-viewer/gpx-viewer.php on line 164
Warning: Trying to access array offset on value of type bool in /home/morichel/campingdaino.com/wp-content/plugins/gpx-viewer/gpx-viewer.php on line 165
Warning: Trying to access array offset on value of type bool in /home/morichel/campingdaino.com/wp-content/plugins/gpx-viewer/gpx-viewer.php on line 166
]]>How do I assign categories? Now only a dropdown list with “uncategorized”. I have tried with
[gpx-view category=”/wp-content/uploads/gpx/uncategorized”]
[gpx-view category=”uncategorized”]
None of them pick up the gpx tracks that uploaded without problems and are in the
/wp-content/uploads/gpx/uncategorized folder.
I have WP 6.02 and php 7.4
Thanks
Is there a limitation in how many times we can add it to a single page?
On this page I added 2 maps but it only works for one.
https://ousontccjb.fr/?p=47
There is a javascript error in the console:
“Uncaught Error: Map container is already initialized.”
Small bug?
]]>Hello,
This plugin seems to do exactly what I want but I just don’t get it ?? (except the upload part which works fine).
The documentation explains to add PHP code to include an existing track.
Am I supposed to edit/upload PHP files?
The code does not seem to work when adding it to an article from the standard admin/editor interface (which does not surprise me much).
From the GPX files admin page (where we see the uploaded ones), could we not have the snippet of code that would be needed to add a specific track to an article?
]]>I can’t change the category of an uploaded track. Is this not possible?
Thanks for any help.
Leo
]]>I made an patch for the use of multiple maps instead of only the default OSM.
Please download
https://www.domis.de/misc/gpx-viewer_multi_map_patch.zip
and see the multimappatch.txt file for further details.
The implementation uses the basic OSM and the OpenTopoMap.
Have fun.
Hello,
after fresh installation of WP and this AddOn, I have exactly the same Issue.
Will deinstall the Addon ??
Hi,
Just as a pointer for those wanting to get this working – and for the writer to add to the next version :
the reason some people cannot see the categories in the admin screen is a slight code issue within gpx-viewer-admin.php file.
Currently, the recent version 1.0.7 – uses the following to get the categories :
// Get categories
//——————
$sql = “SELECT wp_terms.slug, wp_terms.name
FROM wp_term_taxonomy, wp_terms
WHERE wp_term_taxonomy.taxonomy = ‘category’
AND wp_terms.term_id = wp_term_taxonomy.term_id
AND wp_term_taxonomy.parent = 0”;
Which is fine.. as long as you are using a database table name suffix of ‘wp_’ – when your installation does not, the statement returns zero rows as wp_terms etc doesnt exist.. its [your selected prefix]terms..
After changing the code to :
$sql = “SELECT t.slug, t.name
FROM ” . $wpdb->prefix . “term_taxonomy ta, ” . $wpdb->prefix . “terms t
WHERE ta.taxonomy = ‘category’
AND t.term_id = ta.term_id
AND ta.parent = 0”;
The statement runs fine on all installations, and categories can be selected when uploading GPX files.
Thanks.
Keith.
]]>I downloaded this plugin from the www.remarpro.com page. The file structure and the PHP files are present, but the /js subdirectory is empty. Likewise for /images, /css and /languages. Impossible to test the plugin due to missing files. Is there an alternate source for the complete set of files ?
]]>Hello,
At the moment, I try your plugin on a testing website. It is running on WordPress 5.2.2 with PHP 7.2 and use https.
I installed and activated the plugin, got a MapQuest Key and adjusted all settings. I changed to GPX-Files and wanted to upload gpx files.
First, the category is empty. How to create one? Does it share the category with some other function (like articles)?
I tried to upload several files. All of them were sucessful uploaded. It seems to me, reducing and MapQuest Online services are working. However, I don’t find them at GPX-Files. I checked with FTP in the folder “uploads\gpx” and all files are still there.
At the moment, I’m not able to see any files or to attach one to an article. Please for help.
regards, Andyt
]]>Hi there,
just installed the plugin on my WP5.0.3.
I have some categories for posts.
But when I try to upload a GPX Track, it shows an empty category dropdown.
Any suggestions?
Thank you
kind regards
Mario
Hi! The plugin as it stands is not much use for putting a map in a post. You need a simple short code way of doing it.
What really interests me is the compression tool. What would be really useful is an option to have the file saved to the media library, from where it could be used in other mapping plugins.
Best of all would be an automatic gpx compression tool which would intercept gpx uploads, automatically resize them based on settings, and send them to the media library (rather like the Imsanity plugin which automatically screens and limits photo uploads).
There is currently no other plugin doing this as far as I can see.
Hi. I’ve just installed the plugin and added it to my php code as php function.
For test purpose I wrote it as below:
if(get_field(‘gpsies_link’))
{
echo ‘<p>TEST1</p>’;
echo gpx_view(array(‘https://somesitename.eu/wp-content/uploads/gpsfilename.gpx’ => $filepath
, ‘title’ => $track_name
, ‘red’ => $track_color
, ‘200’ => $track_width ));
echo ‘<p>TEST2</p>’;
}
I would like to use it with connection to the “Advanced Custom Fields” plugin but currently hardocded gpx url for example.
But the function return empty string. Ctrl+U page’s source looks like:
<p>TEST1</p><p>TEST2</p>
Nothing between TESTS strings.
I tried, to remove “echo” function – the same empty result.
Could You, please show me some real example for it?