working api function to return place from lat/long
updated