tags:

views:

20

answers:

2

I have an ip address i want to locate all the nearest places ip addresses marked with marker in google maps. How can i achieve it ?

A: 

You can use ip2location to get the location of the IP and the use Google Geocoding API to find it's coordinates and place it on a map.

xmarcos
Here is an example http://www.seomoz.org/ip2loc ;)
xmarcos
A: 

If you want to do this client side, consider using the Google Loader's ClientLocation. It provides IP-based geolocation:

http://code.google.com/apis/ajax/documentation/#ClientLocation

I'm not sure what you mean by nearest places, perhaps you'll then want to reverse geocode the latlng returned by google.loader.ClientLocation:

http://code.google.com/apis/maps/documentation/javascript/reference.html#Geocoder

broady