Skip Navigation

[Resolved] I can't show the map when I add a custom post type with address custom field

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

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)

This topic contains 2 replies, has 2 voices.

Last updated by andreaP-10 2 years, 9 months ago.

Assisted by: Shane.

Author
Posts
#2320459

Hi there, I added a custom post type named "medici" and built a post form to add a new "medico"
One of the custom field I created for this custom post type is "indirizzo" (address)
When I open the form to add a new medico and I type the "indirizzo", the map don't show. Instead of it a message is shown: "We could not connect to the Google Maps autocomplete service, but you can add an address manually."

How can I fix?

Thanks

#2320729

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Andrea,

Thank you for getting in touch.

This sounds like a case where the API key has not been setup correctly.

I recommend that you follow the instructions in the link below exactly in order to correctly setup the API key for your google maps.
https://toolset.com/course-lesson/creating-a-maps-api-key/#creating-an-api-key-for-google-maps

Thanks,
Shane

#2322185

Hi Shane. That was precisely the problem. The Places API wasn't enabled. My issue is resolved now. Thank you!