This plugin provides access to the device’s compass. The compass is a sensor that detects the direction or heading that the device is pointed, typically from the top of the device. It measures the heading in degrees from 0 to 359.99, where 0 is north. Methods navigator.compass.getCurrentHeading navigator.compass.watchHeading navigator.compass.clearWatch Example: function onSuccess(heading) { […]