We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a14ce2 commit b406248Copy full SHA for b406248
js/tracker.js
@@ -3004,7 +3004,7 @@ function addPosition(position) {
3004
};
3005
3006
// if car doesn't report heading, we calculate it from the last position
3007
- if(vehicle.num_positions > 1 && vehicle.vehicle_type == 'car' && 'gps_heading' in position && position.gps_heading === "") {
+ if(vehicle.num_positions > 1 && vehicle.vehicle_type == 'car') {
3008
3009
// Source
3010
var startLat = toRadians(vehicle.curr_position.gps_lat);
0 commit comments