Title: Issues with https and google maps
Last modified: August 21, 2016

---

# Issues with https and google maps

 *  Resolved [mdd061000](https://wordpress.org/support/users/mdd061000/)
 * (@mdd061000)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/issues-with-https-and-google-maps/)
 * On certain browsers there is an issue with the plugin showing google maps. If
   the main wordpress site is using ssl (https), the google map will not load. Google
   Chrome and possibly other browsers as well don’t like the mix of encrypted and
   unencrypted content. As a hack I just changed every reference to [http://maps.google.com](http://maps.google.com)
   to [https://maps.google.com](https://maps.google.com). So all content was encrypted.
   I don’t know if this is the best fix, but that was the only way I could find 
   to restor functionality. I recommend that you guys either change the plugin to
   always load the https version of google maps, or detect the type of connection(
   http or https) and select the appropriate version to load. I’m up and running
   now, but I dislike running a hacked version of the plugin because it makes me
   worry that updates will break the page.
 * Thanks for a great plugin!
 * [http://wordpress.org/extend/plugins/the-events-calendar/](http://wordpress.org/extend/plugins/the-events-calendar/)

Viewing 7 replies - 1 through 7 (of 7 total)

 *  [Rob La Gatta](https://wordpress.org/support/users/roblagatta/)
 * (@roblagatta)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/issues-with-https-and-google-maps/#post-3863552)
 * Hey mdd061000: I realize it’s taken us some time to get you a reply here, and
   I apologize for that. I was wondering if you could confirm whether this still
   occurs for you after updating to the 3.0.2 codebase? Let me know if you’re still
   having issues here. Thanks in advance!
 *  Thread Starter [mdd061000](https://wordpress.org/support/users/mdd061000/)
 * (@mdd061000)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/issues-with-https-and-google-maps/#post-3863553)
 * Yes, the issue is still present in 3.0.2. I’m pretty sure the offending script
   is
    `<script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor
   =false"></script>`
 * It references the script by http, which most secure browsers will be unhappy 
   with on https pages.
 *  Thread Starter [mdd061000](https://wordpress.org/support/users/mdd061000/)
 * (@mdd061000)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/issues-with-https-and-google-maps/#post-3863554)
 * You should probably use a protocol relative URL. I think calling
    `<script type
   ="text/javascript" src="//maps.google.com/maps/api/js?sensor=false"></script>`
   Will fix the problem.
 *  Thread Starter [mdd061000](https://wordpress.org/support/users/mdd061000/)
 * (@mdd061000)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/issues-with-https-and-google-maps/#post-3863555)
 * Okay, I changed line 11 in admin-views/event-map.php to read
    `<script type="
   text/javascript" src="//maps.google.com/maps/api/js?sensor=false"></script>`
 * And that solves the problem.
 *  [Samuel Estok](https://wordpress.org/support/users/faction23/)
 * (@faction23)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/issues-with-https-and-google-maps/#post-3863556)
 * This is definitely an issue an i am going to apply this fix for the next release.
   Thanks so much for bringing it to our attention mdd061000!
 *  [reidwalley](https://wordpress.org/support/users/reidwalley/)
 * (@reidwalley)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/issues-with-https-and-google-maps/#post-3863574)
 * I’m having the exact same problem: Google Map not displaying because of a non-
   secure HTTP API link.
 * Same error message in FireFox, too: “[http://maps.google.com/maps/api/js?sensor=false&#8221](http://maps.google.com/maps/api/js?sensor=false&#8221);
 * I’m running The Events Calendar, v 3.1.
 * I did exactly as mdd061000 recommended and that solved the problem. BUT it sucks
   that I had to edit a core file. It’s totally gonna get wiped out with the next
   update.
 * Is there a Child Theme method similar to “Events 3.0 Themer’s Guide” ([http://tri.be/support/documentation/events-calendar-themers-guide/](http://tri.be/support/documentation/events-calendar-themers-guide/))
   for editing the-events-calendar/admin-views/event-map.php?
 *  Moderator [Jan Dembowski](https://wordpress.org/support/users/jdembowski/)
 * (@jdembowski)
 * Forum Moderator and Brute Squad
 * [12 years, 7 months ago](https://wordpress.org/support/topic/issues-with-https-and-google-maps/#post-3863575)
 * reidwalley? Per the [forum welcome](http://codex.wordpress.org/Forum_Welcome#Where_To_Post)
   can please post your own topic.
 * [http://wordpress.org/support/plugin/the-events-calendar#postform](http://wordpress.org/support/plugin/the-events-calendar#postform)
 * This topic is already marked resolved and is 3 months old.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Issues with https and google maps’ is closed to new replies.

 * ![](https://ps.w.org/the-events-calendar/assets/icon-256x256.gif?rev=2516440)
 * [The Events Calendar](https://wordpress.org/plugins/the-events-calendar/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/the-events-calendar/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/the-events-calendar/)
 * [Active Topics](https://wordpress.org/support/plugin/the-events-calendar/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/the-events-calendar/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/the-events-calendar/reviews/)

 * 7 replies
 * 5 participants
 * Last reply from: [Jan Dembowski](https://wordpress.org/support/users/jdembowski/)
 * Last activity: [12 years, 7 months ago](https://wordpress.org/support/topic/issues-with-https-and-google-maps/#post-3863575)
 * Status: resolved