Releases: aashari/nodejs-geocoding
Releases · aashari/nodejs-geocoding
Bump devDependencies versions
Upgrade NodeJS version to 18.15.0
Merge pull request #3 from aashari/v2.0.0 Upgrade node version to 18.15.0
Update version on package.json
v1.2.1 update the version
Enable support language customization
Default (en):
geocoding.encode("jalan merdeka utara no.3 jakarta").then(result => {
console.log(result);
/*[
{
formatted_address: 'Jalan Medan Merdeka Utara No.3, RT.3/RW.2, Gambir, Central Jakarta City, Jakarta',
latitude: -6.1715111,
longitude: 106.8269598
},
{
formatted_address: 'Jalan Medan Merdeka Utara, RT.3/RW.2, Gambir, Central Jakarta City, Jakarta',
latitude: -6.1715111,
longitude: 106.8269598
}
]*/
});
Customized (id):
geocoding.encode("jalan merdeka utara no.3 jakarta", "id").then(result => {
console.log(result);
/*[
{
latitude: -6.175308299999999,
longitude: 106.8281502,
formatted_address: 'Jalan Medan Merdeka Utara No.3, RT.3/RW.2, Gambir, Kota Jakarta Pusat, Jakarta'
},
{
latitude: -6.1714815,
longitude: 106.8269598,
formatted_address: 'Jalan Medan Merdeka Utara, RT.3/RW.2, Gambir, Kota Jakarta Pusat, Jakarta'
}
]*/
});
Fix decode failed validation
v1.1.0 add package-lock for example
Initial Release
v1.0.0 initialize project