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

Re: Drop lastPosition from Geolocation?

From: Doug Turner <doug.turner@gmail.com>
Date: Tue, 18 Nov 2008 10:46:40 -0800
Cc: public-geolocation <public-geolocation@w3.org>, Greg Bolsinga <bolsinga@apple.com>, Richard Barnes <rbarnes@bbn.com>, Martin Thomson <Martin.Thomson@andrew.com>
Message-Id: <04DF07E7-3B5C-4BE8-84C7-A35F3E95A79A@gmail.com>
To: Aaron Boodman <aa@google.com>


On Nov 18, 2008, at 10:36 AM, Aaron Boodman wrote:

> On Tue, Nov 18, 2008 at 9:57 AM, Doug Turner <doug.turner@gmail.com>  
> wrote:
>> I think just using getCurrentPosition, with the modifiedSince  
>> option, is
>> going to make you js code a bunch simpler -- you will only have one  
>> code
>> path.
>
> First of all, we don't need 'modifiedSince', right? We already have
> the timestamp property on the Position interface.
>
> The way I interpret what you are suggesting is that we get rid of
> lastKnownPosition and leave it up to the UA to cache positions across
> applications as it sees fit. In that world, I would see vendors
> caching very conservatively (on the order of a few seconds).

Hmm.

Youre proposing that we ignore the option all together, and just have  
GetCurrentPosition/WatchPosition return whatever cached value it may  
have -- Leaving it up to the UA's to determine their own caching policy?

Right?
Received on Tuesday, 18 November 2008 18:47:17 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 August 2009 20:54:08 GMT