simplemap icon indicating copy to clipboard operation
simplemap copied to clipboard

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

Open swissmexxa opened this issue 3 years ago • 0 comments

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

swissmexxa avatar Aug 12 '22 08:08 swissmexxa