I want to display a formatted address on click of map pin.
Google's textseach api giving key formatted_address. How can I use to get formatted_address for particular latitude-longitude for that particular place?
Is it possible to get formatted address from latitude and longitude using google places textsearch api?
You'll need the Google Maps Geocoding API to get the address.
Example: https:// maps.googleapis.com/maps/api/geocode/json?latlng=19.1309601,72.9068758&key=your-key
PS: Multiple results will be returned most of the time.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With