mirror of
https://codeberg.org/OpenTracksApp/OpenTracks.git
synced 2026-10-11 21:43:05 +02:00
Also send speed to UI.
This commit is contained in:
@@ -788,6 +788,7 @@ public class TrackRecordingService extends Service implements HandlerServer.Hand
|
|||||||
|
|
||||||
if (lastTrackPoint != null && lastTrackPoint.hasLocation()) {
|
if (lastTrackPoint != null && lastTrackPoint.hasLocation()) {
|
||||||
//TODO Should happen in TrackPoint? via constructor
|
//TODO Should happen in TrackPoint? via constructor
|
||||||
|
tmpLastTrackPoint.setSpeed(lastTrackPoint.getSpeed());
|
||||||
tmpLastTrackPoint.setAltitude(lastTrackPoint.getAltitude());
|
tmpLastTrackPoint.setAltitude(lastTrackPoint.getAltitude());
|
||||||
tmpLastTrackPoint.setLongitude(lastTrackPoint.getLongitude());
|
tmpLastTrackPoint.setLongitude(lastTrackPoint.getLongitude());
|
||||||
tmpLastTrackPoint.setLatitude(lastTrackPoint.getLatitude());
|
tmpLastTrackPoint.setLatitude(lastTrackPoint.getLatitude());
|
||||||
|
|||||||
Reference in New Issue
Block a user