UPDATE: You can now lookup information and geocode by IP Address.
To lookup by the requesting IP address, just add “by_ip=1″ like so:
http://www.localsearchmaps.com/geo/?by_ip=1

To get city/state info, use a callback:
http://www.localsearchmaps.com/geo/?by_ip=1&cb=IpLookup

To lookup an IP address by passing it in, rather than using the requestor’s ip:
http://www.localsearchmaps.com/geo/?by_ip=1&cb=IpLookup&IP=66.249.66.9 8

Keep in mind, when using IP addresses, that this info isn’t always very good and, in fact, many IP addresses will not have any data. I have built it in to try looking up by IP address when the by_ip=1 parameter is used but to fall back on the other lookup info (i.e. loc or city infor passed in) if the IP address lookup fails.

To try it out, check out the virtual earth or google earth geourl sites and click on the “Guess by my IP Address” link.