WP Google Maps
[resolved] Maps not working in chrome (4 posts)

  1. dallas@acrius.ca
    Posted 3 years ago #

    Maps seem to be working in all browsers except chrome. Getting a Google not defined error in chrome console.

    Any help is appreciated!


  2. dallas@acrius.ca
    Posted 3 years ago #

    I think it maybe because it is an ecomm site and it is using https with an ssl if I use http:// the google maps work.

  3. dallas@acrius.ca
    Posted 3 years ago #

    Just a heads up I am using pro and I figured it out.

    I added

    <script type="text/javascript">
                           var gmapsJsHost = (("https:" == document.location.protocol) ? "https://" : "http://");
                           document.write(unescape("%3Cscript src='" + gmapsJsHost + "maps.google.com/maps/api/js?sensor=false' type='text/javascript'%3E%3C/script%3E"));

    to replace the http map api call

  4. WPGMaps
    Plugin Author

    Posted 3 years ago #

    Hi there
    Thanks for posting the solution! :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP Google Maps
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic