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

Geolocation Preferred Country: Possibility for setting multiple countries instead of only one #360

Open
swissmexxa opened this issue Aug 12, 2022 · 0 comments

Comments

@swissmexxa
Copy link

Description

In the field settings we can set the preferred country to one single country. When using the geolocation search field, it only shows results of the preferred country. The problem we are facing now is, that the search should support multiple countries as addresses can be in multiple countries (Like DE, CH, LI, AT). We could set the preferred country to "all countries" but then the search results are too wide. The Google Maps API supports narrowing down the search results to a number of specific countries like so:

componentRestrictions: {country: ['DE', 'AT', 'CH', 'LI']}

It would be create, if you could support this.

Best regards

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

No branches or pull requests

1 participant