Skip to content

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

Open
@swissmexxa

Description

@swissmexxa

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions