Thread Starter
JapeNZ
(@japenz)
Hello again,
Managed to get it working with these API’s enabled:
Geocoding API
Maps JavaScript API
Places API
Cheers!
hello @japenz,
Great to hear that you can fix it yourself
Regards
Thread Starter
JapeNZ
(@japenz)
Hi @mytrinh,
I thought I’d got it working but am seeing the following error:
Uncaught ReferenceError: google is not defined
at initMap (woocommerce-thank-you-page-google-map.js?ver=1.0.5.5:6)
at HTMLDocument.<anonymous> (woocommerce-thank-you-page-google-map.js?ver=1.0.5.5:40)
at i (jquery.js:2)
at Object.fireWith [as resolveWith] (jquery.js:2)
at Function.ready (jquery.js:2)
at HTMLDocument.J (jquery.js:2)
And the map area is blank in the thank you page after a purchase, if the page is reloaded the map loads up fine.
Any idea what might be causing this please?
Thank you for your help!
hello @japenz,
Please download and override this version then check again.
Regards
Thread Starter
JapeNZ
(@japenz)
Hi @mytrinh,
Awesome buddy, seems to have done the trick!
Thank you so much 🙂
Kind regards
-
This reply was modified 6 years, 4 months ago by
JapeNZ.
I am getting the same error. Plus provide a fix!
Hi @akc123
Please try to enable these APIs and check again:
– Directions API
– Geocoding API
– Maps JavaScript API
– Places API
Best regards