WordPress.org

Support

Support » Plugins and Hacks » [Resolved] google map , for https is not working

[Resolved] google map , for https is not working

Viewing 14 replies - 1 through 14 (of 14 total)
  • Plugin Author Greg Ross

    @gregross

    The Google Maps API is available in http or https, what problem are you actually seeing?

    Maps on this end are getting clipped to about the top left 10% of the total area

    Plugin Author Greg Ross

    @gregross

    What browser are you using?

    Maps are also clipped for me.
    Tested on 2 different Machines running MAC/OSX: Safari, Firefox, Chrome

    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 Author Greg Ross

    @gregross

    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?

    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 Author Greg Ross

    @gregross

    Can one of you grab 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 Author Greg Ross

    @gregross

    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 Author Greg Ross

    @gregross

    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();
    });

    That seems to have done the trick!

    I did not find it on 243 however,
    It was on line 479

    Plugin Author Greg Ross

    @gregross

    That could be, I’m in the middle of some changes to the overview page and my working copy is in a shambles.

    More for others who may be looking for the code.
    Seems to have solved the problem on this end!

    Well done!

    Plugin Author Greg Ross

    @gregross

    The fix will be in the next release.

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘[Resolved] google map , for https is not working’ is closed to new replies.