title: Access device compass from web app with Javascript
body: <p>Is it possible to access the compass with Javascript on an iphone/ android device from a web app? Have been looking all over the net for hours I know you can access the accelerometer with</p>
  
  <p>window.ondevicemotion = function(event)</p>
  
  <p>Does anyone know if you can access the information from the compass??</p>