Skip Navigation

[Resolved] Google Maps autocomplete

This thread is resolved. Here is a description of the problem and solution.

Problem:

The googlemap autocomplete inside the custom field is not working. How can I solve it? The error message is as follows:

"You can't connect to the Google Maps autocomplete service, but you can enter the address manually."

Solution:

Please follow our document to setup your Google map API key:

https://toolset.com/course-lesson/creating-a-maps-api-key/

make sure to select Maps JavaScript API, Geocoding API, and Places API.

Relevant Documentation:

This support ticket is created 3 years, 2 months ago. 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.

Our next available supporter will start replying to tickets in about 1.33 hours from now. Thank you for your understanding.

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

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

This topic contains 4 replies, has 2 voices.

Last updated by yoshihikoH 3 years, 2 months ago.

Assisted by: Luo Yang.

Author
Posts
#1930503

I'm using the Toolset Maps plugin.
The googlemap autocomplete inside the custom field is not working. How can I solve it? The error message is as follows:
"You can't connect to the Google Maps autocomplete service, but you can enter the address manually."

Thank you.

#1930673

Hello,

Are we talking about custom address field created with Toolset Types plugin + Maps plugin?
https://toolset.com/course-lesson/installing-toolset-maps-and-adding-address-fields/

If it is, please follow our document to setup your Google map API key:
https://toolset.com/course-lesson/creating-a-maps-api-key/
Section "Creating an API key for Google Maps"
make sure to select Maps JavaScript API, Geocoding API, and Places API.

#1930853

Dear Luo Yang,

Thank you for your answer.

Yes, I am asking about custom address fields. The map is displayed normally on the preview screen. However, the autocomplete feature that will be represented in the custom field is working. I'm aware that the three api (Maps JavaScript API, Geocoding API, PlacesAPI) settings you pointed out are normal. The reason is that the map on the preview screen is displayed normally.

In addition, I will check the three api key settings again. I wondered if there was a problem other than the api key, so I asked this question.

Thank you.

yoshihiko

#1930871

In my opinion, it should be the map API key setting problem or compatibility issue, you can check the compatibility issue too, for example:
deactivate all other plugins, and switch to wordpress default theme 2021, deactivate all custom PHP/JS code snippets, and test again

#1931329

My issue is resolved now. Thank you!

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.