Bugfixes (Map orientation threshold) #6359 - fixed
This commit is contained in:
parent
d3c631df03
commit
7815654dee
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue