Skip to content

Commit b406248

Browse files
Mark JessopMark Jessop
authored andcommitted
Fix chase car icons not being rotated based on chase-car heading
1 parent 4a14ce2 commit b406248

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/tracker.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3004,7 +3004,7 @@ function addPosition(position) {
30043004
};
30053005

30063006
// 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 === "") {
3007+
if(vehicle.num_positions > 1 && vehicle.vehicle_type == 'car') {
30083008

30093009
// Source
30103010
var startLat = toRadians(vehicle.curr_position.gps_lat);

0 commit comments

Comments
 (0)