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

Re: Drop lastPosition from Geolocation?

From: Aaron Boodman <aa@google.com>
Date: Tue, 18 Nov 2008 09:45:01 -0800
Message-ID: <278fd46c0811180945i4951b6cahe4487131007eb2b@mail.gmail.com>
To: Doug Turner <doug.turner@gmail.com>
Cc: public-geolocation <public-geolocation@w3.org>, Greg Bolsinga <bolsinga@apple.com>, Richard Barnes <rbarnes@bbn.com>, Martin Thomson <Martin.Thomson@andrew.com>

On Tue, Nov 18, 2008 at 9:38 AM, Doug Turner <doug.turner@gmail.com> wrote:
> It is my position that we should not have synchronous API because building a
> security UI around such a system doesn't work.  This was the core reason I
> suggested dropping lastPosition.

If the app doesn't have permission to use the Goelocation API, then
just return null. The next thing the developer will probably try to do
with be to call getCurrentPosition(), which will trigger the UI.

>From the developer's point of view the difference between "there is no
last known position" and "there is no last known position because you
don't have access to position information" is not really relevant, is
it?

- a
Received on Tuesday, 18 November 2008 17:45:42 GMT

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