W3C home > Mailing lists > Public > public-geolocation@w3.org > November 2009

what's the heading when the device is not moving?

From: Max Froumentin <maxfro@opera.com>
Date: Mon, 09 Nov 2009 11:39:53 +0100
Message-ID: <4AF7F179.1060805@opera.com>
To: public-geolocation@w3.org
Should it be:

- null (but then we don't differentiate between when the device doesn't 
report heading values and when the device is still)
- Compass direction (in which case we must change "direction of travel" 
- NaN

 From the specification
The heading attribute denotes the direction of travel of the hosting 
device and is specified in degrees counting clockwise relative to the 
true north. If the implementation cannot provide heading information, 
the value of this attribute must be null.

Received on Monday, 9 November 2009 10:40:33 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:33:56 UTC