Viewing 6 replies - 1 through 6 (of 6 total)
  • The problem is that the Google maps code looks at the size of the enclosing DIV, which is hidden by the tab code and then fails (usually by getting the centering of the map wrong). These problems were talked about as far back as 2009 but Google haven’t been bothered to fix it – obviously too busy seeing how they can extract more money out of people…

    Thread Starter threedogmoon

    (@threedogmoon)

    Hah, thanks for the explanation. So it is nothing fixable on my end. I suspected as much.

    You’re right on for the money part. This is sheer proof of that: https://gigaom.com/2013/08/14/oh-google-of-course-email-users-expect-privacy-you-promised-it-to-them/

    There were all sorts of horrible hacks to try to get around it – like putting
    <html>
    <iframe blah>
    </iframe>
    <html>
    in a separate file and including that into your tab… but it didn’t work for me.
    I tried Bing maps but it was worse ()pointers just don’t show at all when shared – d’oh!)

    I think if you use the maps API you can force a redraw when the tab is clicked, but with a Tabs plugin it possibly isn’t possible to hook into that (unless maybe they have a hook for that?)
    Anyway, I just linked in an external window, which is a shame.

    Thanks for Google link – good to know I’m not just “shouting at the wall” on my own ??

    Thread Starter threedogmoon

    (@threedogmoon)

    No prob, and thanks for trying to help!

    It seems you got it working, based on the link you provided. Care to share your solution? I’m running into the same issue.

    -Eddie

    Thread Starter threedogmoon

    (@threedogmoon)

    I did nothing special. It works sometimes, and other times it takes a crap. It is generally unreliable for some reason. If you refresh the page and try it over and over a few times, you’ll eventually see errors. I’ve tried embedding with both themes that have tab functionality and tab plugins. All work pretty much the same.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Problems Loading Google Maps iFrames in Tabs’ is closed to new replies.