diff --git a/README.md b/README.md index edc2c4b..f4da154 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,8 @@ There is a file explorer inside the app interface to select a file to load and a This is not a perfect GPX editor. -**WARNING** GpxEdit does not save any elevation/time data, even if you loaded a gpx file which has elevation/time information. Keep that in mind if you overwrite a file. +**WARNING** GpxEdit does not load/save any time data, even if you loaded a gpx file which has time information. Keep that in mind if you overwrite a file. +Elevation data is loaded and saved but every new data added by GpxEdit will not have elevation or time data. Markers are saved as waypoints. Lines (polylines) are saved as tracks with one segment. It is possible to set a name, description and comment for each marker and line in a popup. diff --git a/js/gpxedit.js b/js/gpxedit.js index db628a0..743f507 100644 --- a/js/gpxedit.js +++ b/js/gpxedit.js @@ -293,7 +293,8 @@ function generateGpx(){ ' xmlns:gpxx="http://www.garmin.com/xmlschemas/GpxExtensions/v3"'+ ' xmlns:wptx1="http://www.garmin.com/xmlschemas/WaypointExtension/v1"'+ ' xmlns:gpxtpx="http://www.garmin.com/xmlschemas/TrackPointExtension/v1"'+ - ' creator="GpxEdit Owncloud/Nextcloud app" version="1.1"'+ + ' creator="GpxEdit Owncloud/Nextcloud app '+ + $('#versionnumber').text().replace(/\s+/g,'')+'" version="1.1"'+ ' xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"'+ ' xsi:schemaLocation="http://www.topografix.com/GPX/1/1'+ ' http://www.topografix.com/GPX/1/1/gpx.xsd'+ diff --git a/templates/gpxcontent.php b/templates/gpxcontent.php index a1187e5..0a19897 100644 --- a/templates/gpxcontent.php +++ b/templates/gpxcontent.php @@ -12,7 +12,7 @@
v +
v