Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Propagate country param to TomTom geocoder #330

Conversation

amiedes
Copy link
Contributor

@amiedes amiedes commented Feb 8, 2022

What does this PR do?

  • If country was passed as an option when instantiating the geocoder, it will be propagated to the TomTom API as the countrySet argument.

Decisions taken

  • The TomTom API countrySet parameter really accepts a comma-separated list of Alpha2 coudes (ES,AU,US), but for simplicity and to avoid maintaining redundant validations (the TomTom API will already be validating the format of this) we decided just to propagate the value as it is received.

@amiedes amiedes marked this pull request as ready for review February 8, 2022 12:04
@amiedes
Copy link
Contributor Author

amiedes commented Feb 8, 2022

Hi @nchaulet 👋, I'm a colleage of @charly22 from CARTO.

Sorry for bombarding you with a myriad of PRs all of a sudden 😅, but if you managed to find some time to review this during the next days/week we'd be very pleased 🙇.

Of course we're open to any suggestions you may have.

@nchaulet nchaulet merged commit e225fa7 into nchaulet:master Feb 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants