insert GpxEdit version number in <gpx> 'creator' attr
parent
f6af95223e
commit
9750b2d268
|
@ -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.
|
||||
|
|
|
@ -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'+
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
<div id="logo">
|
||||
<!--p align="center"><img src="gpxedit.png"/></p-->
|
||||
<div>
|
||||
<p>v
|
||||
<p id="versionnumber">v
|
||||
<?php
|
||||
p($_['gpxedit_version']);
|
||||
?>
|
||||
|
|
Loading…
Reference in New Issue