Skip to content

Releases: aashari/nodejs-geocoding

Bump devDependencies versions

13 Mar 11:33
57a8abe
Compare
Choose a tag to compare
Merge pull request #4 from aashari/v2.1.0

Bump devDependencies versions

Upgrade NodeJS version to 18.15.0

13 Mar 11:30
619d4b5
Compare
Choose a tag to compare
Merge pull request #3 from aashari/v2.0.0

Upgrade node version to 18.15.0

Update version on package.json

13 Mar 11:24
Compare
Choose a tag to compare
v1.2.1

update the version

Enable support language customization

13 Mar 11:02
5d1e880
Compare
Choose a tag to compare

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

03 Apr 17:13
Compare
Choose a tag to compare
v1.1.0

add package-lock for example

Initial Release

03 Apr 17:04
Compare
Choose a tag to compare
v1.0.0

initialize project