Reputation: 1646
LocationObject.getBearing() returns the horizontal direction of travel of this device[0 to 360 degree].
How to calculate the user moving direction like North, south and all from this bearing value?
Thanks in advance.
Upvotes: 0
Views: 1428
Reputation: 18243
From the documentation:
Returns the direction of travel in degrees East of true North. If hasBearing() is false, 0.0 is returned.
Upvotes: 4