nchaulet / node-geocoder

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

Updated tomtom geocoder API #273

Closed Bramzor closed 5 years ago

Bramzor commented 5 years ago

Pull request will update the TomTom geocoder API url and handle the new API response. Related to ticket: #272

Please review the code (it does work for my use) but I was not sure why countrycode returned an countryISO3 before. Although it is available on the new API, I assume a normal countrycode is prefered. Also added a hardcoded limit but not sure how this is for the other geocoder libs. The rest should be ok.

nchaulet commented 5 years ago

Thanks 👍