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

Re: Position Heading Questions?

From: Greg Bolsinga <bolsinga@apple.com>
Date: Wed, 19 Nov 2008 09:55:01 -0800
Cc: public-geolocation <public-geolocation@w3.org>
Message-Id: <E1D86B95-E9A0-4AED-93BE-7A53F5715D57@apple.com>
To: Andrei Popescu <andreip@google.com>

On Nov 17, 2008, at 5:32 AM, Andrei Popescu wrote:

> You are right, the definition is ambiguous and it needs clarifying.
> Right now, heading denotes the direction of travel so it is a property
> of the movement of the device.

Thanks.

> I completely agree that orientation would be useful but I have the
> following problem with exposing it in this API: orientation is
> completely orthogonal to position. So far, the spec is only concerned
> with the where on Earth a device is. How that device is oriented
> doesn't fit the current abstraction and, if we were to add it, it
> would break the API in subtle ways. For instance, it would no longer
> be clear when the watchPosition() callbacks would be invoked, so we'd
> probably need new methods (watchOrientation() ?), etc. This is the
> reason why most other APIs I've seen cleanly separate the two
> concepts:

Well, lat and long are completely orthogonal too! ;) I'm open to  
additional orientation callbacks, as I think that's how I'd implement  
it.

Thanks,
-- Greg
Received on Wednesday, 19 November 2008 17:55:42 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 18:13:30 GMT