Re: Geolocation API

On Mon, Jun 9, 2008 at 5:58 PM, Anne van Kesteren <annevk@opera.com> wrote:
> On Mon, 09 Jun 2008 17:21:58 +0200, Andrei Popescu <andreip@google.com>
> wrote:
>>>
>>>   3.2 An alternative is to expose GeoLocation as a property of the
>>> navigator object.
>>
>> That's true, although I personally feel that the navigator object is
>> meant to hold a collection of properties that are specific to the Web
>> browser itself (such as version number, installed plugins, UA string,
>> etc). Geolocation is somewhat orthogonal to all this. What do you
>> think?
>
> Then again, navigator also tells you something about the state of the
> user/user agent through navigator.onLine. You could argue the location of
> the user is somehow an extension to this.
>

Yep. It seems that most people argue the same way (ie in favor of
navigator as the "home" for the Geolocation object). I'm fine with
that.

Andrei

Received on Thursday, 12 June 2008 20:56:01 UTC