mirror of
https://github.com/gpxstudio/gpx.studio.git
synced 2025-08-30 23:30:04 +00:00
time management improvements for routing tool
This commit is contained in:
@@ -682,7 +682,7 @@ export class TrackSegment extends GPXTreeLeaf {
|
||||
const time = (points[i].time.getTime() - points[i - 1].time.getTime()) / 1000;
|
||||
speed = dist / (time / 3600);
|
||||
|
||||
if (speed >= 0.5) {
|
||||
if (speed >= 0.5 && speed <= 1500) {
|
||||
statistics.global.distance.moving += dist;
|
||||
statistics.global.time.moving += time;
|
||||
}
|
||||
|
Reference in New Issue
Block a user