Title: google map , for https is not working
Last modified: August 22, 2016

---

# google map , for https is not working

 *  Resolved [mIRU.md](https://wordpress.org/support/users/mirumd/)
 * (@mirumd)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/google-map-for-https-is-not-working/)
 * google map , for https is not working , because url is -> [http://maps.google.com/maps/api/js?sensor=false](http://maps.google.com/maps/api/js?sensor=false),
   have to change to -> //maps.google.com/maps/api/js?sensor=false to work for http
   and https
    Thank you
 * [https://wordpress.org/plugins/wp-statistics/](https://wordpress.org/plugins/wp-statistics/)

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

 *  Plugin Contributor [Greg Ross](https://wordpress.org/support/users/gregross/)
 * (@gregross)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/google-map-for-https-is-not-working/#post-5188677)
 * The Google Maps API is available in http or https, what problem are you actually
   seeing?
 *  [AndalusianWorld](https://wordpress.org/support/users/andalusianworld/)
 * (@andalusianworld)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/google-map-for-https-is-not-working/#post-5188749)
 * Maps on this end are getting clipped to about the top left 10% of the total area
 *  Plugin Contributor [Greg Ross](https://wordpress.org/support/users/gregross/)
 * (@gregross)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/google-map-for-https-is-not-working/#post-5188785)
 * What browser are you using?
 *  [QuadWord](https://wordpress.org/support/users/quadword/)
 * (@quadword)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/google-map-for-https-is-not-working/#post-5188786)
 * Maps are also clipped for me.
    Tested on 2 different Machines running MAC/OSX:
   Safari, Firefox, Chrome
 *  [QuadWord](https://wordpress.org/support/users/quadword/)
 * (@quadword)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/google-map-for-https-is-not-working/#post-5188790)
 * Update: if i refresh the browser a lot of times it switches between 3 different
   results:
 * – a 10% clipped “corner” on the top left (47 Times out of 50 Refreshes)
    – a 
   25% clipped “row” full width but only 25% height (2 Times out of 50 Refreshes)–
   a 100% working display (1 Time out of 50 Refreshes)
 *  Plugin Contributor [Greg Ross](https://wordpress.org/support/users/gregross/)
 * (@gregross)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/google-map-for-https-is-not-working/#post-5188799)
 * QuadWord: Sounds like a problem on Google’s side. It wouldn’t work *sometimes*
   if our code was fundamentally incorrect. I can’t reproduce the problem on my 
   Windows box on multiple browsers.
 * AndalusianWorld: Are you on Mac or Windows?
 *  [AndalusianWorld](https://wordpress.org/support/users/andalusianworld/)
 * (@andalusianworld)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/google-map-for-https-is-not-working/#post-5188813)
 * Hi Greg,
    We use Macs here. I checked it through all my browsers, and it is the
   same issue in Firefox, Safari, and Chrome
 *  Plugin Contributor [Greg Ross](https://wordpress.org/support/users/gregross/)
 * (@gregross)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/google-map-for-https-is-not-working/#post-5188854)
 * Can one of you grab [https://addons.mozilla.org/en-US/firefox/addon/user-agent-switcher/?src=search](https://addons.mozilla.org/en-US/firefox/addon/user-agent-switcher/?src=search)
   for Firefox and switch your user agent string windows and give it a try?
 *  Plugin Contributor [Greg Ross](https://wordpress.org/support/users/gregross/)
 * (@gregross)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/google-map-for-https-is-not-working/#post-5188890)
 * Never mind the above, I borrowed a friends MacBook Pro and it worked fine in 
   Safari.
 * Do either of you have enough experience to do some JavaScript debugging?
 *  Plugin Contributor [Greg Ross](https://wordpress.org/support/users/gregross/)
 * (@gregross)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/google-map-for-https-is-not-working/#post-5188975)
 * I think I’ve found the issue, the map was being initialized before the page was
   completely loaded. Give this a try, edit the wp-statistics/includes/log/log.php
   file, line 243 should be:
 *     ```
       initialize();
       ```
   
 * replace it with:
 *     ```
       jQuery(document).ready(function(){
       	initialize();
       });
       ```
   
 *  [AndalusianWorld](https://wordpress.org/support/users/andalusianworld/)
 * (@andalusianworld)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/google-map-for-https-is-not-working/#post-5188976)
 * That seems to have done the trick!
 * I did not find it on 243 however,
    It was on line 479
 *  Plugin Contributor [Greg Ross](https://wordpress.org/support/users/gregross/)
 * (@gregross)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/google-map-for-https-is-not-working/#post-5188978)
 * That could be, I’m in the middle of some changes to the overview page and my 
   working copy is in a shambles.
 *  [AndalusianWorld](https://wordpress.org/support/users/andalusianworld/)
 * (@andalusianworld)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/google-map-for-https-is-not-working/#post-5188980)
 * More for others who may be looking for the code.
    Seems to have solved the problem
   on this end!
 * Well done!
 *  Plugin Contributor [Greg Ross](https://wordpress.org/support/users/gregross/)
 * (@gregross)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/google-map-for-https-is-not-working/#post-5188981)
 * The fix will be in the next release.

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

The topic ‘google map , for https is not working’ is closed to new replies.

 * ![](https://ps.w.org/wp-statistics/assets/icon.svg?rev=3081064)
 * [WP Statistics – Simple, privacy-friendly Google Analytics alternative](https://wordpress.org/plugins/wp-statistics/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-statistics/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-statistics/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-statistics/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-statistics/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-statistics/reviews/)

## Tags

 * [HTTPS](https://wordpress.org/support/topic-tag/https/)

 * 14 replies
 * 4 participants
 * Last reply from: [Greg Ross](https://wordpress.org/support/users/gregross/)
 * Last activity: [11 years, 10 months ago](https://wordpress.org/support/topic/google-map-for-https-is-not-working/#post-5188981)
 * Status: resolved