I just watched the setup video and there’d be a $10/month fee for the API’s, which isn’t much but until my app has some decent visitors I want to avoid any expenses.
There’s a Free tier for Google geocoding, which means you don’t pay anything unless you’re making a lot of calls (i think you get $200 per month of free usage before you’re charged).
That’s how I had it but it was converting Brighton to a USA address.
If I type ‘Brighton and Hove’ into my geographic address option set attribute, it sets it as Brighton & Hove, UK. So I’m not sure why that’s not working for you. If you type ‘Brighton UK’ it should work fine (it does for me).
I could simply have a static text link for each town and forget about saving as a geolocation in the database but I really would like to offer the radius search - although you said I would need the Goggle API for that?
Yes, if you want to use geolocation features (like calculating distances, showing locations on maps, getting location names/addresses etc.) then you need to enable Google Geocoding in your app by adding your Google API keys.
I guess there are ways to manually calculate the distance between two coordinates, so you could just try that (but you’d still have to store the coordinates first in your database or in an option set)
Can Bubble work out the distances for me without me have Google API?
There are other geo location service providers aside from Google, but Google is the one that’s built into Bubble, so doesn’t require any set up (other than adding your API keys).
If you want to use another API service you’d have to set up all the required calls manually to get location details and calculate distances etc.
Alternatively, if you don’t want to use an external location services provider at all, you could just use text fields in either a datatype or an option set to store your city’s data, but that means you won’t be able to use location features (such as calculating distances or displaying addresses on maps etc.), so it depends on what user experience you’re trying to achieve as to the best way to go - but I’d definitely say using Bubble’s built in location features functionality (via Google Geocoding) seems like the simplest and best option to me.