function address(lat,lng){
request('https://maps.googleapis.com/maps/api/geocode/json?latlng='+ lat +','+ lng +'&sensor=false', function (error, response, data) {
if (!error && response.statusCode == 200) {
//var dd = JSON.stringify(data);
//console.log(data);
var result = JSON.parse(data);
var dd = JSON.stringify(result);
//console.log(result);
var address = result.results[0].formatted_address;
console.log(address)
return address;
}
})}
console.log(address(22.333,113.5555));