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

Re: skeleton Geolocation API

From: Aaron Boodman <aa@google.com>
Date: Thu, 26 Jun 2008 14:57:03 -0700
Message-ID: <278fd46c0806261457i3ad479far43fc0b5c488d2a87@mail.gmail.com>
To: "Doug Turner" <doug.turner@gmail.com>
Cc: "Andrei Popescu" <andreip@google.com>, timeless@gmail.com, public-geolocation@w3c.org, "Nick Brachet" <nbrachet@skyhookwireless.com>

On Thu, Jun 26, 2008 at 2:54 PM, Doug Turner <doug.turner@gmail.com> wrote:
> On Jun 26, 2008, at 2:48 PM, Aaron Boodman wrote:
>> On Thu, Jun 26, 2008 at 2:44 PM, Doug Turner <doug.turner@gmail.com>
>> wrote:
>>>
>>> On the lastPosition attribute, I have gotten some feedback from UX people
>>> that dialog a modal permission dialog for this synchronous API is not
>>> ideal.
>>> I hate to do this, but could we work through the use case for this again.
>>> Is it simply to avoid the cost of an asynchronous callback?
>>
>> Yes, it is to be able to show something immediately in the case where
>> you have an old value from a previous call to the API.
>>
>> Perhaps the implementation could just return null in the case where
>> permission has not been granted to that origin yet?
>
>
> That means it will only return an non-null position if the system has a
> location available, and permission has been granted (and remembered)
> previously?

Yeah. Which still seems likely if the API is successful.

- a
Received on Thursday, 26 June 2008 21:57:50 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 22 March 2012 18:13:39 GMT