I was finally able to show a GPX file using leaflet-gpx after I configured a rewrite rule RewriteRule .*\.gpx$ – [L,T=application/gpx+xml] as per a previous forum post. However, when changing the leaftlet-gpx src= to elevation gpx=, I’m not getting a GPX file loaded, but a DataCloneError: The object could not be cloned. in the console.
The other thing I noticed is that unlike wp-gpxmaps, using the leaflet plugin, the GPX file is always sent to the client browser, so it’s super easy to fetch a copy even without a download link being present.
My last question is whether there will be a management interface on the roadmap to upload files, like it is offered by wp-gpxmaps, and/or a shortcode conversation routine to perform a bulk migration from one plugin to another?
- The topic ‘Showing GPX with elevation doesn’t work’ is closed to new replies.