Google Maps not loading on contact form

Support Forums Verde – WP Plugin Google Maps not loading on contact form

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #5399
    Joseph P Babi
    Participant
    #5400
    CreaboxThemes
    Keymaster

    Hi,

    Google Maps Api has changed. Now, you need to get a Google Api Key and paste it in your application, include it as a key parameter value.

    You have to change the code when the Google Maps Api is loaded. Go to the page ‘Plugins > Editor’, select the file ‘verde_plugin/themes/theme.php’ and at the bottom of the code, look for where the google maps script is loaded and change it to this one:


    src="http://maps.google.com/maps/api/js?key=YOUR_API_KEY&sensor=false"

    Regards

    #5511
    James
    Participant

    If that doesn’t work, try putting the script in using https instead, like so:

    src="https://maps.google.com/maps/api/js?key=YOUR_API_KEY"

    Also, Google no longer needs a sensor parameter when loading their scripts.

    • This reply was modified 6 years, 11 months ago by James.
    #5513
    CreaboxThemes
    Keymaster

    Thank you very much for the information. Regards

    #5726
    Nathanael Frank
    Participant

    I am experiencing this issue currently. When I plug in coordinated and my API key the map is still not being displayed.

    I’ve tried making the changes to the php files as noted above but I have been unsuccessful.

    #5727
    CreaboxThemes
    Keymaster

    Hi,

    sorry for the inconveniences. Could you send me your url to check the code please?

    Regards

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