Fix issue route animation with gpx routing
This commit is contained in:
parent
89e8a036b3
commit
716e38d6a4
1 changed files with 1 additions and 1 deletions
|
@ -103,7 +103,7 @@ public class RouteAnimation {
|
|||
current.setSpeed(meters / intervalTime * coeff);
|
||||
}
|
||||
current.setTime(System.currentTimeMillis());
|
||||
if(!current.hasAccuracy()) {
|
||||
if(!current.hasAccuracy() || Double.isNaN(current.getAccuracy())) {
|
||||
current.setAccuracy(5);
|
||||
}
|
||||
if (prev != null && prev.distanceTo(current) > 3) {
|
||||
|
|
Loading…
Reference in a new issue