Problem with Google Maps

  • This topic has 6 replies, 2 voices, and was last updated 4 years ago by J. Davis.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #892416
    Claudio Vincentini
    Participant

    I have create a Google API (build new project and create new API, set the domain) and I paste the API KEY into GETWID.

    When I go to frontpage in the page that display Google Maps I see this problem “Google Maps was not loaded correctly. For technical details, consult the JavaScript console.”

    What can I do?

    #893157
    Steve
    Keymaster

    Hello Claudio,

    Please activate Maps API for your api-key.
    Here is the answer and instructions
    https://developers.google.com/maps/documentation/javascript/error-messages#api-not-activated-map-error

    Regards,
    Steve

    #935784
    Paul Gartner
    Participant

    Hi Steve, Hi MP Team
    I have the same problem with restricting GMaps API Keys:
    If I restrict them to a specific IP address or DNS, the Getwid GMaps Block returns the error posted by Claudio.

    Only by not restricting API Keys, it works.
    Thanks
    Paul

    #937391
    J. Davis
    Keymaster

    Hi Paul,

    Thank you for your question. Make sure you have turned on Maps JavaScript API while generating a key. You may also add your domain as refferer enabling this option Referral HTTP Sources (Websites) and adding your domain with asterisk like this example.com/* to be able to use Google map on any page or post of the same website.
    Let me now if it is helpful.

    best regards,
    J. Davis

    #937462
    Paul Gartner
    Participant

    Hi J. Davis
    Great thanks! It works now!
    Cheers

    #937811
    Paul Gartner
    Participant

    Hi J. Davis
    Sorry to re-open the thread, but the problem still exists, with and without restrictions.
    Sometimes it works, sometimes it doesn’t.
    Would you mind to check the GetWid Gmaps Block?
    Thanks

    #939298
    J. Davis
    Keymaster

    Hi Paul,

    Thanks for getting back to us. Could you specify if you can see any error when the map is not working? Could you press F12 on your keyboard to see the console with errors and specify if you can see any when the map is not working? Please provide us with exact text of the error message.

    Best regrads,
    J. Davis

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.