Have you tried the basic W3C method?

http://code.google.com/apis/maps/documentation/javascript/basics.html#DetectingUserLocation

It will ask the user for permission of course, but that's really what's 
necessary and proper for any web-based display.  Using an actual mobile ap 
gives you more options (but in this case, the user still agrees to share 
their location via the app permissions)

On a non-mobile browser with an IP address (or mobiel device on a wireless 
connection) you can also often get a decent city-level location for a given 
IP address from using google's jsapi method. Once you've loaded the jsapi 
library properly, check the google.loader.ClientLocation object

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" 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-js-api-v3?hl=en.

Reply via email to