How can I convert Latitude and Longitude into a street address?
I am trying to make a map component upon load it shows the users location and give them directions to another point. I am able to get the user latitude and longitude as well as the other latitude and longitude. I just need to convert the latitude and longitude coords into an address. I have follow this http://docs.appery.io/tutorials/build... but i am stuck. Can someone please help?
This is my code so far -
initialize();
var ToLat = localStorage.getItem('UserLatitude');
var ToLong = localStorage.getItem('User_Longititude');
var To = ToLat + " "+ ToLong;
var FromLat = localStorage.getItem('MyLat');
var FromLong = localStorage.getItem('MyLong');
var From = FromLat +" "+ FromLong;
var sourceAddress = From;
var destinationAddress = To;
var map = Appery("directionsMap").gmap;
displayDirections(sourceAddress, destinationAddress, map);