How to get address location from latitude and longitude in Google Map.?

05/03/2020 17:00:02

So I have latitude and longitude Like 44.4647452 and 7.3553838. I need to get address like: Milan, Italy, str. Kennedy 89.

How I can do it?

Verified Answer (147 Votes)

10/22/2013 12:28:41

Simply pass latitude, longitude and your Google API Key to the following query string, you will get a json array, fetch your city from there.,7.3553838&key=YOUR_API_KEY

Note: Ensure that no space exists between the latitude and longitude values when passed in the latlng parameter.

Click here to get an API key


Answer #2 (16 Votes)

10/22/2013 12:28:09

What your looking for is Reverse Geo Coding. Have a look at this example here.


Answer #3 (8 Votes)

10/22/2013 12:28:51

You have to make one ajax call to get the required result, in this case you can use Google API to get the same,-73.961452&sensor=true/false

Build this kind of url and replace the lat long with the one you want to. do the call and response will be in JSON, parse the JSON and you will get the complete address up to street level

Hack Hex uses Stack Exchance API by the Stack Exchange Inc. to scrape questions/answers under Creative Commons license.