Hi all. I am trying to do a filter where you can choose by cities another users that live close by. The problem I dont know what is the best method to include this input in the database from the user. Also, I am thinking if it is better that they include their location from a dropdown or from a searchbox. The issue with the last one is that it seems that is not limited (I cant restricted to only places in Switzerland) and later if they put a small place, this place will not appear in the dropdown when the people do the filter. My perfect idea would be that the searchbox only shows places in Switzerland and the users put their place of residence when they register with geo localation so it will show people from around 25km around but I dont know if it is possible. Thank you very much!!!
Hey @Amjl
As far as I know, this part is not possible with the built-in address search box. You probably have to connect to the Google Places API yourself and do some custom calls to make this happen. I know one of the Google Maps APIs has a lot of customization option to just get addresses in certain areas.
For this part, yes. This is possible in Bubble. There is an operator of a geographic address called within X kms of
another address. It still calls Google Places API of course, so you have to put your key and everything.
@Huseyin from Flusk | Discover the #1 Security and Monitoring Tool for Bubble