Earlier quoted context omitted.
I was tempted to add device orientation for mobile, but figured people might think it was an actual compass, and AFAIK support is a bit spotty.
> device orientation for mobile On Google maps this is supposed to use the magnetometer to point the arrow in the correct direction, but it never works and nor does the stupid calibration phone-waving thing it asks you to do.
On my device the arrow points in approximately the correct orientation. (Plus minus ten-ish degrees.) If yours never work even to that level, even when you are away from magnetic sources then probably your device is faulty. (Do make sure you don’t have body worn magnets, or magnets in the phone case/holder of course.)
If it works to the same approximation, but you are expecting it to be more accurate then you should choose a different tool for the job.