+ 1

Can anyone give any idea how to use the Cordova geolocation plugin and retrieve the name of the city the user is currently in?

I know how to use Cordova geolocation plugin to retrieve the latitude and longitude of the user but using that finding the city of the user via Google map api is what I'm struck in as I don't know the proper use of the Google api...moreover the callback functions are really confusing. Can anyone provide a clear idea how to do it?

7th Jul 2017, 7:32 AM
Goutam Bose
Goutam Bose - avatar
1 Answer
+ 4
https://github.com/googlemaps/android-samples/blob/master/README.md I have no way to test myself, but that link comes directly from within Google's Maps API documentation.
17th Jul 2017, 2:14 AM
Kirk Schafer
Kirk Schafer - avatar