• Resolved JapeNZ

    (@japenz)


    Hi there,
    Is there a guide for setting up the Google Maps API anywhere please?
    I’ve tried going through it but keep receiving the ‘This API project is not authorized to use this API.’ error message.

    Thanks for your help!

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter JapeNZ

    (@japenz)

    Hello again,
    Managed to get it working with these API’s enabled:

    Geocoding API
    Maps JavaScript API
    Places API

    Cheers!

    Plugin Author mytrinh

    (@mytrinh)

    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!

    Plugin Author mytrinh

    (@mytrinh)

    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 4 years, 11 months ago by JapeNZ.
    Plugin Author mytrinh

    (@mytrinh)

    You are welcome.

    Regards

    • This reply was modified 4 years, 11 months ago by mytrinh.

    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

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Google Maps API guide please’ is closed to new replies.