Bugfixes (Map orientation threshold) #6359 - fixed

This commit is contained in:
madwasp79 2019-01-17 14:58:17 +02:00
parent d3c631df03
commit 7815654dee

View file

@ -239,7 +239,7 @@ public class MapViewTrackingUtilities implements OsmAndLocationListener, IMapLoc
}
public static boolean isSmallSpeedForDirectionOfMovement(Location location, float speedToDirectionOfMovement) {
return !location.hasSpeed() || location.getSpeed() < speedToDirectionOfMovement;
return !location.hasSpeed() || location.getSpeed()* 3.6 < speedToDirectionOfMovement;
}
public static boolean isSmallSpeedForCompass(Location location) {