Add <sat> to each trkpt.

This commit is contained in:
voussoir 2022-04-04 16:44:18 -07:00
parent 74cfbaedea
commit 981e8806b1
No known key found for this signature in database
GPG key ID: 5F7554F8C26DACCB

View file

@ -144,6 +144,7 @@ object TrackHelper {
gpxString.appendLine("\t\t\t<trkpt lat=\"${wayPoint.latitude}\" lon=\"${wayPoint.longitude}\">")
gpxString.appendLine("\t\t\t\t<ele>${wayPoint.altitude}</ele>")
gpxString.appendLine("\t\t\t\t<time>${dateFormat.format(Date(wayPoint.time))}</time>")
gpxString.appendLine("\t\t\t\t<sat>${wayPoint.numberSatellites}</sat>")
gpxString.appendLine("\t\t\t</trkpt>")
}
gpxString.appendLine("\t\t</trkseg>")