layer without name are written with empty name instead of 'unnamed'
parent
d60f29b5c1
commit
a27840f029
|
@ -23,6 +23,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
|
|||
|
||||
### Changed
|
||||
- numeric/alphabetic sort of layers by name in gpx file
|
||||
- layer without name are written with empty name
|
||||
|
||||
### Fixed
|
||||
- app is now compliant to occ check-code
|
||||
|
|
|
@ -650,7 +650,7 @@
|
|||
gpxText = gpxText + ' <name>' + name + '</name>\n';
|
||||
}
|
||||
else{
|
||||
gpxText = gpxText + ' <name>unnamed</name>\n';
|
||||
gpxText = gpxText + ' <name></name>\n';
|
||||
}
|
||||
if (alt !== undefined) {
|
||||
gpxText = gpxText + ' <ele>' + alt + '</ele>\n';
|
||||
|
@ -675,7 +675,7 @@
|
|||
gpxText = gpxText + ' <name>' + name + '</name>\n';
|
||||
}
|
||||
else{
|
||||
gpxText = gpxText + ' <name>unnamed</name>\n';
|
||||
gpxText = gpxText + ' <name></name>\n';
|
||||
}
|
||||
if (comment) {
|
||||
gpxText = gpxText + ' <cmt>' + comment + '</cmt>\n';
|
||||
|
@ -706,7 +706,7 @@
|
|||
gpxText = gpxText + ' <name>' + name + '</name>\n';
|
||||
}
|
||||
else{
|
||||
gpxText = gpxText + ' <name>unnamed</name>\n';
|
||||
gpxText = gpxText + ' <name></name>\n';
|
||||
}
|
||||
if (comment) {
|
||||
gpxText = gpxText + ' <cmt>' + comment + '</cmt>\n';
|
||||
|
|
Loading…
Reference in New Issue