nchaulet / node-geocoder

nodejs geocoding library
http://nchaulet.github.io/node-geocoder/
MIT License
926 stars 213 forks source link

🐛 Sometimes country name is returned as `United States of America` and sometimes `United States` #336

Open a-tokyo opened 2 years ago

a-tokyo commented 2 years ago

Unlike other geocoders, locationIQ uses the country name United States of America instead of United States.

Fix: https://github.com/nchaulet/node-geocoder/pull/335

rocainunwired commented 2 years ago

LocationIQ team will factor this in during the next major API version release. Changes to the existing version is not possible at the API end as it might be a breaking factor for other users.

a-tokyo commented 2 years ago

@rocainunwired Agreed 👍🏻 I handled the issue in our backend temporarily for now.

Should I close this issue or keep it open for reference for other people?