Welcome to WebmasterWorld Guest from 54.147.10.72

Forum Moderators: open

Message Too Old, No Replies

Google Maps API: Reverse Geocode?

I Want an Address for a Lat/Long Pair

     

cmarshall

1:06 pm on May 18, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



We don't seem to have a Google Maps forum, although it is easily a topic big enough to deserve one (hint-hint), so I'm asking this here.

First, the application: I have an interface that fills a browser window with a Google Map. There is a marker, surrounded by a radius. The user can drag the marker or click on the map, and the marker moves there. Local points of interest appear within the radius as clickable markers.

What I would like to be able to do is give some feedback to the user as to where they are when they click. Since they can click arbitrarily, I would like to be able to give them some information, like "You are in Muttontown, NY" or "Glen Cove Road at Smith St.," etc.

I know about this [google.com], but I need the opposite. I need to feed in coordinates and get back some address information.

Any ideas?

LifeinAsia

3:40 pm on May 18, 2007 (gmt 0)

WebmasterWorld Administrator lifeinasia is a WebmasterWorld Top Contributor of All Time 5+ Year Member Top Contributors Of The Month



The Google Maps API Group is an excellent source of info- [groups.google.com...]

I'm pretty sure similar questions have been asked there before. I don't think the API has such a function, but there are probably 3rd party solutions.

cmarshall

6:23 pm on May 18, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Thanks! I'll poke around a bit. I do have a bit of a "back door," which is a zipcode lookup, but that's pretty pathetic, and not worth the trouble.

I just wanted to allow the user to know where they were without having to zoom in.

 

Featured Threads

Hot Threads This Week

Hot Threads This Month