... | ... |
@@ -106,8 +106,7 @@ var mapClass = { |
106 | 106 |
me.device.data.orientation.airplane = data.hdg; |
107 | 107 |
} |
108 | 108 |
else { |
109 |
- var track = getprop('/orientation/track-deg'); |
|
110 |
- me.device.data.orientation.map = -track; |
|
109 |
+ me.device.data.orientation.map = -data.trk; |
|
111 | 110 |
me.device.data.orientation.airplane = data.hdg; |
112 | 111 |
} |
113 | 112 |
} |