reverse-geocoding-google
v1.1.0
Published
reverse-geocoding-google you can add google api keys
Downloads
414
Readme
Installation
$ npm i reverse-geocoding-google
Examples
Basic
var geocoding = new require('reverse-geocoding-google');
var config = {
'latitude': 40.00403611111111,
'longitude': 116.48485555555555,
'key': 'YOUR Google api key'
};
geocoding.location(config, function (err, data){
if(err){
console.log(err);
}else{
console.log(data);
}
});