diff --git a/scripts/map.js b/scripts/map.js index 089a728..39d0111 100644 --- a/scripts/map.js +++ b/scripts/map.js @@ -420,7 +420,7 @@ function getLocation(zoom = true) { } // Use GPS heading if user is ruffly in a straight line for the last 5 seconds and over 12kph - if (gpsHeading && inStraightLine && speed >= (12 * 1000) / (60 * 60)) { + if (gpsHeading && speed >= (12 * 1000) / (60 * 60)) { // Calculate offset between gps heading and compass heading deviceHeadingOffset = gpsHeading - compassHeading;