Yes, of course this is possible. Your server has to have a means to look 
up the client's IP into a geo code. Than your server may render some JS 
to the clients browser, setting the map's center to the location derived 
from the IP.

All this can be done nowadays without any server interaction using 
Google Gears or Firefox Geode, but this needs to have a browser plugin 
installed client side.

andrewbecks schrieb:
> Good day!
>
> I'm new to this forum and I'm not sure if this is an easy question or
> not, but I've looked around and cannot seem to find an answer. I'm
> trying to set up a new map (it's not yet been published) so that when
> a user opens the page with the map, the map shows the marker(s)
> closest to the user's current location. Can this be done using the
> geographical data from the user's IP address? Or is there another way?
> I see that this is currently hard-coded with latitude and longitude:
> map.setCenter(new GLatLng(37.4419, -122.1419), 13);
>
> Again, I'm new to this and I would greatly appreciate any help that
> you could provide.
>
> Thank you,
> Andrew
>
> >
>
>   

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