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

Re: aborting getCurrentPosition()?

From: Max Froumentin <maxfro@opera.com>
Date: Wed, 13 May 2009 14:28:42 +0200
To: Andrei Popescu <andreip@google.com>
Cc: public-geolocation@w3.org
Message-ID: <m2my9h2nlx.fsf@pc214.sm.oslo.opera.com>
Hi Andrei, sorry for the late response.

Andrei Popescu <andreip@google.com> writes:

> Yes, I see. I don't have much against it, even though I'd prefer the
> API to stay as simple as possible. Would you be ok with discussing the
> cancel() function in the scope of the v2 of the Geolocation API?

Yes, that's no problem with me. I don't care that much about the proposal, to be honest, and if no one else but me supports it I won't fight for it.

> Anyway, if we go down this route, my proposal would be to make
> getCurrentPosition() return an identifier (just like watchPosition())
> and rename clearWatch() to 'clearRequest' (or similar) so that it can
> clear either type of request.

Agreed. Keeps the API simple.

Max.
Received on Wednesday, 13 May 2009 12:29:26 GMT

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