Im trying to create a web application that would allow me to document a vacation. Id like to be able to add name, location, comments, pictures (through apis from insta and fb) to an item to then plot of a google map.
Right now, Im struggling with Google Place api with an input item. Does anyone have an example of how to use this that I could follow?
Do you really need the google place API ? You can enter an address in an input field and then use this in a “Geographic Address” field which works very well.
Thats currently what I have. A user has to input the name and then the address, which is a geographic address. My issue is that this takes additional steps. I would like the user to just type the name and then be able to figure out the address for it and store it in my data. Currently, they would have to look up the address in google and then enter it in a field, which seems excessive.
Im just looking for an example of using the google place api.
OK, the thing to bear in mind is that the result from the Google Places API is a list, you would either need to do a :firstitem or put it in a search box if you are looking for a single address to pull out.
Set up the Plugin, and put the input into “Query”. The Radius part is not mandatory, but I ended up with a lot of SoHo NYC rather than proper Soho in London !
Im going to be honest, I still can’t get it to work. I feel like I have what you have in your screen shot, but when I ‘Preview’ the page, nothing shows up in the text field. I added a screenshot. Is there anything I need to do with the google API key?
Still no luck. Added the API key in the Plugin tab on the side. Ive replicated what you have. Could you maybe show me what yours look like in ‘Preview’ mode?
Im a little confused how the text field is supposed to update when you enter a value in Input K.
that’s the one that I am using also…and still can not get it to work…
I have a input field and a text display that get the Google Places’s Address, but I am getting an error to “remember to fillout Location”, even after I point the value of the input field this doesn’t work…
how does the Text display know what address to get? Should there be a link between what is being typed in the input field and what should be displayed in the Text field below that?
so it turns out that I was missing the ‘query’, which wasn’t on the screen prior, until I selected a different Search Type and then selected Text Search again the Query field appeared…