webkitCompassHeading
A direction that is measured in degrees relative to magnetic north.
Declaration
readonly attribute double webkitCompassHeadingOverview
Direction values are measured in degrees starting at due north and continuing clockwise around the compass. Thus, north is 0 degrees, east is 90 degrees, south is 180 degrees, and so on. A negative value indicates an invalid direction.