Hi @KALYANA ALLAM
Just like what you did using the virtualearth API, refer to you provide code, change the request URL to google API format:
https://maps.googleapis.com/maps/api/geocode/json?latlng=40.714224,-73.961452&key=YOUR_API_KEY
Set the latitude, longitude and change the API key to your actual google map API key. The response like this:
After getting the response json string, you can also use JsonConvert.DeserializeObject
method to convert the json result to an object, and then get the formatted_address value.
More detail information about using google map API, see Reverse geocoding request and response (address lookup).
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
Best regards,
Dillion