> > By the way: Not everyone on the Internet has a geolocatable IP address.
> > I don't. Your page fails when google.code.ClientLocation is null.

Great call there; I wonder what convention should I use to try to get
it and if null center 0,0 .. I can figure that..

>
> Ooh, I hadn't noticed that. That means that you should specify
> sensor=true, because your app determines the user's location for
> itself. Documentation on how to do that with the AJAX loader is rather
> sketchy too, but I believe it's
>
> google.load("maps", "2", {"other_params" : "sensor=true"});

That won't help with the non-geolocatable addess will it? ..reading..
it looks like that is just for google's data? but, yes, I have added.

Thanks for the tips though guys.. I guess I will make a check "if
null" wrapper around my definition of center .. going to have to
refactor that in a few places.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to