Has anyone used the new address input with an API key?

@thiaan Thanks for the feedback, and my apologies again for this falling in between the cracks.

By “guide on the page” do you mean this help article ? It is the same one that opens up when you click the “Find out more” link in the “Connect Google Maps” panel.
If so, we did in fact update it after we learnt that Google changed the way you select what APIs you need (see attached screenshot).
At the time we released the Address Input you had to choose between 3 API packages offered by Google, and if you picked the “Places” one (as mentioned in the guide), it came bundled with all the APIs the Address Input uses.
Now you have to pick the APIs one by one. Did you get to go through this new experience?

@trent-christian judging by this thread, we need to make it much clearer which APIs are required. Let’s discuss it offline and see what we want to mention inside the Address Input itself, and what we want in the article.

OK, contacted you in person on chat. Will do my best to figure out what’s the issue and how to solve it.

@eyalc Yes Exactly, note Step 1 instruction I copied from the above link:
" Choose the products you want to generate the API keys for. For the purpose of setting up the Address Input element, it is enough to select the Places product as it includes all the required APIs."

OOOHHHHH… YOu are correct, it’s working in production! Still no dice on sandbox for some reason

@trent-christian , we completely missed out on that sentence when we updated the article. Not only is it no longer accurate (there is no Places product anymore), it is even misleading now as the reader is likely to think it means that picking the Places API is sufficient. Only readers who open the collapsed “Show me how” section realise that is not in fact the case.

@thiaan thank you very much for pointing this out!

Yeah, it’s an odd’n

@thiaan @hang Want to make sure I understand what you’re saying:
you follow these instructions and the Address Input isn’t showing suggestions in Preview right away, but after a day or so it starts to?

Tried it again right now and it took just a few minutes to take effect, both for the live site and for the Editor Preview (Google treats both URLs the same way, there is no reason the Editor Preview URL will be any different than the live site URL).

Are you hitting the “Save” button at the bottom of the Credentials page?

@thiaan We updated the Generating a Google Maps API Key for the Address Input Element article based on your feedback.
Thanks again for drawing our attention to this.

Hi,

Please excuse my ignorance, I think what I am trying to achieve is the same but looking at the solution I wonder, now…

I would like the user to use the address input field.
And that this address is then displayed on a map.
When the user clicks “confirm” it then gets written to an address data field.

I hoped the way to do that would be really simple but I did not manage. I am not a coder and the solutions given above feel awful complicated to me…

Is there a simple solution I could use?

Best
Alex