shampie
Forum Replies Created
-
Hi @aahulsebos,
thank you for this! The error message is gone, but my Google Map won’t show up neither… Any idea?
Greetings
ShampieHi @aahulsebos,
I did as described in the “How to use these integrations” section. But I still don’t get it to work 🙈
In the plugin is writtenReplace initMap with a variable from the inline script which runs the init, or the URL where this script resides.
and I replaced it with “map” – but I’m not sure if that’s correct though?
best wishes
ShampieHi @aahulsebos,
thank you so much for your message!
I’m not using the Script Center yet…
I tried to add a little code, so that this function would wait until “google” exists, but then something else complained about not finding “google” :/ Was that the right way of doing it?
I added this code, to the function call:
jQuery(document).ready(function(){ if(!google){ window.setTimeout(function(){ mfn_google_maps_622b74ab6f200(); console.log("nope"); }, 100); } else { mfn_google_maps_622b74ab6f200(); console.log("yay"); } });before it was just this:
jQuery(document).ready(function(){ mfn_google_maps_622b74ab6f200(); });Thanks again for your help!
Shampie