I was impatient to see my orange-Gift icon this month, thanks.
That is cool!!! all though the orange gift icon is not showing in my app. uhh oh. does that mean im not getting gifts
The change was made a few days ago I think ?
Thank you, thank you, thank you. I’m looking forward to implementing this soon!
oh i must have missed it… i get so excited over that icon… more so then is healthy i think
This is really nice. Thanks! Is there a way to use this same search input to display and choose groupings of data? That would be fantastic.
@emmanuel - when using my own API keys, it is not returning any results. Any insights? Others encountering the same issue?
- I’ve tested multiple keys in multiple apps and in safe mode.
- The associated keys have all Maps APIs enabled.
- Have tested using Bubble v4 and v5.
- Results are properly returned when I do not provide an API key (using Bubble’s defaults).
You should make sure the API console has Google Places activated (on Google’s end)
@emmanuel - correct, I have Google Places enabled.
My Google console is showing new requests under Places API for Web when I use other maps-related components. (If you have an API key I can test against, happy to do so). Let me know if you’d like a bug report.
Cool and thanks!
I have created a topic about that in bug sections and have been in talk about this issue since two weeks now…
Hi @dan1 … I have the same situation as you and the same thing is happening to me. Try adding “formatted address” to the “Limit results around” as in the screenshot below:
This solved the problem of displaying the results, but the results are not narrowed down by the set radius. So that is, even if I set my radius to 100 meters, the search box will display results in other countries.
@leonidas.petrou4 - thanks for the suggestion. Seeing the same thing on my end. (Current geographic position’s formatted address yields results, but does not actually apply the radius). Pre-defined addresses (ex. current place’s address) does not yield results.
I’m thinking there’s still something amiss here. Eager to hear from any others if they have their own Google Maps API keys and are able to implement successfully.
This may be similar to the recent problem with Google Timezone API. Bubble was only signing calls when using Bubble’s key. It was oddly broken when using one’s own key.
There’s some sort of bug here. @Jici built demo projects that show this in another thread. I think it’s busted at the moment and Bubble needs to look at it.
Haven’t had a chance to test this with my own keys, but did a quick test with Bubble’s keys, and the geographical constraint doesn’t seem to apply. It shows results from all over the world.
Location restriction works well for me using Bubble’s API key, but not using my own Google API key (which returns results from across the world).
Interestingly, adding “formatted address” actually breaks the restriction for me (ie restriction only works without it).
We have updated search results behavior to be more consistent with and without key.
Regarding the radius constraints not applying in some cases, we ran multiple tests and the issue appears to be Google API overriding constraints.
Thanks Neerja. I think there’s some problem when your users are using their own domain.
Using my own domain, it’s still not working for me (using location restriction I get autocomplete results when I don’t input my Google API key into Bubble, but I get no results when I do input it).
However, when I remove my own domain it works fine.
Any chance of a fix?
@george111 Adding your own domain should not impact results. And with the latest fix, you should be able to see the same results with and without key. Try without a custom domain but with key and if you see results, then try with domain and check console for errors.
Thanks - this is helpful.
On my own domain I’m getting this error in the console: “This API project is not authorized to use this API. Please ensure this API is activated in the Google Developers Console” - however the Google key is definitely enabled (and unrestricted to any particular domain).
Have you seen this problem before? Any tips?
Aha I think I’ve spotted the problem. My key was enabled for “Maps” but not for “Places”. Have now enabled and things seem to be working fine. Thanks for your help