Google Maps API active but not working?

Hi guys,

I want to use an autocomplete based on the google maps API for IOS. I activated all the services possible for IOS (maps) from google cloud and input the API key for IOS in my mobile native app.

What’s next? How do I make use of this feature? I want to look an address (auto-complete) based on the google’s address validation,etc when I fill in a form with an address.

Hi @adig

You could try this which includes the native autocomplete search element you need.

Hey mate,

Thanks a lot. So I need three things from the plugin: auto-complete, match some places’ address from my address table (within x kms, etc) with the input searched (within a specific radius0 and display a list of things. Can it do this?

Bear with me on this and I’ll get back to you on these things, just need to check a few things to be sure. I can make it do the things you need anyway, just want to get my facts right before replying properly.

any news mate?

Hi @adig

Apologies for the delay, I’m currently sitting on an issue which I’m waiting on Bubble to come back to me about. Whilst the plugin is working fine through the BubbleGo app, it’s crashing in TestFlight and inside an actual native App, and I’m pretty sure it’s to do with the way the iOS Google Maps API key is retrieved/used to switch the native map into a Google one. I have a ticket open, just waiting on their tech team to get back to me.

In the meantime, I was going to ask for a little extra info from you, specifically regarding what you’re wanting to do with the address searching.

The autocomplete search component functions fine on it’s own right now, and you basically get access to all the options I’ve outlined below, but I’m unsure what you mean in regards to ‘matching some place address from your address table’. If it’s like a direct comparison, you could do that using Bubble operators but it all depends on how far you want that matching to go and the addresses coming out the autocomplete may not necessarily match the addresses in your table. Explain what you’re trying to do here and I don’t mind helping to find a way to do what you’re want. Hopefully, what I have right now will be sufficient.

If you open up this editor and search for “GoogleMapSearch(testing) A” then you’ll see all the settings I currently have in place

https://bubble.io/page?id=paul-testing-4&test_plugin=1782971538990x799812238819983400_current&tab=Design&name=Home&type=page&version=test&elements=cmoYg0

I’m in the process of adding in the bias/location restriction settings. Once that’s done and I know what’s causing the map crash on iOS, I’ll push an update and post on the main post.

Hope that helps a little.

Paul

Thanks Paul. check your private messages on the forum here