OpenLayers 3 Examples
The "Export GPX" functionality requires a browser that supports the
link download
attribute.
Export GPX
GPX example
Example of using the GPX source.
See the
gpx.js source
to see how this is done.
GPX