W3C home > Mailing lists > Public > public-device-apis-log@w3.org > February 2017

Re: [magnetometer] Local coordinates could use further detail/examples

From: Mark Foltz via GitHub <sysbot+gh@w3.org>
Date: Wed, 01 Feb 2017 18:00:00 +0000
To: public-device-apis-log@w3.org
Message-ID: <issue_comment.created-276731577-1485971998-sysbot+gh@w3.org>
Regarding the orientation question, based on the text in the spec, it 
seems like a mobile device implementing a compass would need to listen
 to Device Orientation to know how to translate inputs from the sensor
 onto the orientation of the rendering.

Sample code illustrating this might be helpful.



-- 
GitHub Notification of comment by mfoltzgoogle
Please view or discuss this issue at 
https://github.com/w3c/magnetometer/issues/19#issuecomment-276731577 
using your GitHub account
Received on Wednesday, 1 February 2017 18:00:09 UTC

This archive was generated by hypermail 2.4.0 : Monday, 4 July 2022 12:47:53 UTC