Re: skeleton Geolocation API

On Fri, Jun 27, 2008 at 1:18 AM, Aaron Boodman <aa@google.com> wrote:
> As an aside, "window.navigator.geolocation" sure is a lot of typing.

none of the systems i've seen actually behave like this. people and
toolkits always make aliases to the objects they need. so it is
probably either:

var GL=window.navigator.geolocation;

of var _zq31=window.navigator.geolocation;

with of course some really ugly code around it to provide for other
fallback cases where instead of actually having this object you have a
fallback object which substitutes a network provided object that
always answers with a location based on the ip address of the client
or the last answer from a manual user interface for the cases where
the api isn't implemented.

> Are people still sure they want that instead of the nice and snappy
> "window.geolocation"?

yes :)

Received on Friday, 27 June 2008 03:47:38 UTC