Enhancement request
-
The GPX viewer does not function when the page content is created via an ajax call.
Example: Go to page https://beta.opajaap.nl/gps-test-2/
and click on one of the four thumbnail images.
You get a slideshow image with underneith a box showing a [map] shortcode.
Refresh the page: it shows the map.It would be greatly appreciated by users of my plugin ( wp-photo-album-plus ) if there was a way to make it function via ajax.
I tried
if ( function_exists('gmapv3') ) add_shortcode('map', 'gmapv3');
in my ajax proc, but i can not find a solution for the js error[11:37:58.924] ReferenceError: google is not defined @ https://beta.opajaap.nl/wp-includes/js/jquery/jquery.js?ver=1.10.2:3
( and of course:
Notice: Trying to get property of non-object in /mnt/webc/d3/15/51893315/htdocs/opajaap/beta/wp-content/plugins/google-maps-gpx-viewer/google-maps-gpx-viewer.php on line 26 Notice: Trying to get property of non-object in /mnt/webc/d3/15/51893315/htdocs/opajaap/beta/wp-content/plugins/google-maps-gpx-viewer/google-maps-gpx-viewer.php on line 142
because there is no page id during the ajax operation, but that is a minor problem )
https://www.ads-software.com/plugins/google-maps-gpx-viewer/
- The topic ‘Enhancement request’ is closed to new replies.