Hey - I’d like to give our users an option to input their city / state / country. Anyone have a way to do this already? The geographic search feature includes exact addresses which I’d like to omit from the result set.
For example, if my city is New York, the UI shows me a slew of very granular addresses which I’d like to omit.
As a follow-up to @kramwe’s original question - does anyone know how to enable auto-suggest for lists of cities using Google or similar? We don’t want to maintain the raw list of cities ourselves and using the default approach in Bubble includes many addresses which aren’t cities which can confuse our end users.
I use the standard Bubble input with geographic places and pass it a US Zip Code only. When given a zip only (“10021”), It returns only “New York, NY 10021, USA”. From that result, normal Bubble functions can extract the city and state.
Just adding to the thread, don’t know if working with Zip Codes fits yours or others’ use case, but I was surprised at how well this works.
FWIW, there are many free sources on the web where you can download lists of zip codes by state, county, etc. if you want to use them as a data type to “restrict” the Zip Code input to certain areas.
It’s 2022, any chance we can get a way to filter out addresses when you put in a zipcode? I don’t need an exact address. Just City State And zip and it creating multiple and unnecessary hits on the google api. Considering this is a potential cost issue would bubble reconsider this?