You are viewing limited content. For full access, please sign in.

Question

Question

Google Maps populate field

asked on August 16, 2018

I want to use google maps where you start typing your address and then it autofills in the address field.  I've found some previous threads but I can't seem to get this working.  The threads are a few years old.  Does anyone have this working on forms 10.2 and can you point me in the right direction?  Looks like i can't use the address widget but need to use single boxes but if I could get it to fill into 1 single address box that would be awesome too.

 

1 0

Replies

replied on October 15, 2018

Hi Wesley - I'm also having issues with this, and using code from a previous thread that is meant to work now seems to be throwing errors.

I've been using Wes Funderberg's code from this thread: https://answers.laserfiche.com/questions/93304/Can-Forms-populate-the-Address-fields-like-Google-Maps

 

Initially you get this, which makes it look like it's working:

 

 

Then quite quickly, without even clicking in the box, you get this:

 

 

Then you are precluded from editing the field further.

 

It's as though it's attempting to load the API (we have rechecked the code and key are correct) but then fails to load it.

 

Any updates on whether this can be made to work would be really appreciated

 

Thanks,

 

Duncan

0 0
replied on October 15, 2018 Show version history

Hi Wesley,

Actually - I've just resolved this, and it may or may not be the same fix that will work for you but maybe try it if you're seeing the same issue as I was.

Basically, you need to ensure the that the correct Google API is enabled in your Google Cloud Platform console: https://console.cloud.google.com

Make sure this API is enabled:

 

As soon as I enabled this, the code from the other thread worked. Hopefully that's your issue too!

 

Cheers,

 

Duncan

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.