Hi all,
I’m trying to build a searchbox that functions similar to AirBnB’s location search.
i.e.
If a user enters the location ‘England’ a RG filters to show all results with an addrss within England
If a user enters the location ‘London’ a RG filters to show all results with an addrss within London
If a user enters a specific address a RG filters to show all results within 5kms of that address
I have a searchbox on my page with the ‘Choices Style’ of Geographic Places.
I’m using the constraint: Address is within 5kms of SearchBox Location’s Value’s Formatted Address
The issue is, if someone inputs ‘England’ for example, or a town like ‘London’, the Geographic address from Google Places API is (I believe) a single location in England. So anything outside 5kms of that exact location won’t show in the results.
Is this possible?