Navigation überspringen

[Gelöst] Strange behaviour with Maps

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

Zeitzone des Unterstützers: Asia/Hong_Kong (GMT+08:00)

Dieses Thema enthält 2 Antworten, hat 2 Stimmen.

Zuletzt aktualisiert von rubenM-3 vor 3 years, 6 months.

Assistiert von: Luo Yang.

Author
Artikel
#2483981

Hi, I use an address field and have entered Google Maps API Key.

When I edit a custom post, and enter an address, it works OK, and shows me the map, with a marker. But if I view this post in frontend, the Map doesn't show the address, just 0,0 coordinates.

And also if I try to insert a map in block editor, I can't change the properties. It shows This blog has encountered an error and cannot be previewed.

#2484393

Hello,

It seems to be a compatibility issue with your theme "Maresmeevents", I have tried these in your website:
1) Dashboard-> Divi-> Theme Options-> General, disable option "Enqueue Google Maps Script"
It enqueues Google map JS file without API key
versteckter Link
2) Edit the content template "Content template for Ubicacions", find and select Toolset Map block, choose the marker source from your custom address field
3) Test it in frontend, for example:
versteckter Link
It works fine.

Please check if it is fixed, thanks

#2484491

Hi,
yes, Maresmeevents theme is a Divi Child, so the problem was with Divi, and option "Enqueue Google Maps Script". Now it works, than you for your help!