Sauter la navigation

[Fermé] Google Maps autocomplete service doesn't work without specific address

This support ticket is created Il y a 3 années et 5 mois. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

Ce sujet contient 3 réponses, a 3 voix.

Dernière mise à jour par Shane Il y a 3 années et 5 mois.

Assisté par: Shane.

Auteur
Publications
#2104073

Hey guys,

I'm getting this error "We could not connect to the Google Maps autocomplete service, but you can add an address manually." when editing a post via Toolset Forms on the front end but only when the address isn't a street address (for example if it is a city or state) or if the location is just based on the lat long.

This is an issue because if I try to edit the post and set a specific location I am un able to do so. Here is a video explaining and showing what is happening: lien caché

#2104211
Screen Shot 2021-07-01 at 2.40.06 PM.png

Hi, I was just working in a local test site, and I was not able to reproduce the same problem with a custom address field set to use the address "Ogden, UT, USA". The address is mapped successfully with a marker, as expected (screenshot attached). Let's try two things:
- Use the "Check API" feature in settings to verify that all the necessary Google Maps API services are active for the account keys you are using on this site. Please go to Toolset > Settings > Maps tab and click the "Check API" button for confirmation. In a few moments you should receive a response from the API that everything is set up correctly. If not, that indicates one or more required APIs are not active for this API key / Site combination in the Google developer console. We can take a closer look if that is the case. Toolset Maps features will appear to work in some cases but not others.
- On the same Toolset > Settings > Maps tab, click the button to load cached maps addresses. Are any addresses shown in the table? Is Ogden, UT, USA one of these cached addresses?

#2107941

Hey Christian,

Ogden, UT, USA is one of the cached addresses and it seems that the API is set up properly.

See images here → lien caché

#2108715

Shane
Supporter

Les langues: Anglais (English )

Fuseau horaire: America/Jamaica (GMT-05:00)

Hi Dallin,

As Christian is currently on vacation, I will be handling his tickets for him.

Would you mind allowing me to have admin access to the site so that I can have a look at what is happening here?

I've enabled the private fields for your next response. Please also send a link to the form where I can test this issue.

Thanks,
Shane

Le sujet ‘[Fermé] Google Maps autocomplete service doesn't work without specific address’ est fermé à de nouvelles réponses.