Hello

You will first have to find out the geographical location of the
user's ip address. You can use the geolocation api from google (http://
code.google.com/apis/gears/api_geolocation.html) or another
geolocation service (there are several online which you can use). And
then just use those coordinates as your map's center.

Hope this helps!

On Jul 2, 11:03 pm, Florent2 <[email protected]> wrote:
> Hello,
>
> With the Google Maps JavaScript API, is there a way to center the map
> around the user location, depending on its IP address?
>
> Thanks!

-- 
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