Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #5975

    I’ve having an issue with Google maps not centering on the pin. See an example of the issue here: http://www.heyheygorgeous.com/enzocoboston/test

    You’ll see that if the google map is placed in the first tab, it works. Click on the other tabs and the google map doesn’t center on the pin.

    Please let us know what to do to resolve this issue. Thanks.

    #52421

    Hey,

    I was able to reproduce your problem and I’ll mail Kriesi about this issue. A solution should follow shortly.

    #52422

    Hi, please keep me posted on the progress. Thanks!

    #52423

    Hey! That doesnt look like a theme specific issue, rather a google maps problem when located in hidden content areas on initialization. I did a quick google search on the topic and found plenty of poeple with similar issues, yet no real answers. If I stumple upon a soltion sometime in the future I will implement it for sure. If you happen to see a website where this works let me know, maybe its something simple…

    #52424

    Hi Kriesi,

    Thanks for responding to my issue. Here’s how some people have been fixing the issue. I was hoping that there’s just some code to write in one area and it fixes all the issues? http://stackoverflow.com/questions/4528490/google-map-v3-off-center-in-hidden-div

    Or would it be akin to a solution like this in the jQuery:

    After much searching I found the issue was related to the iFrame being embedded inside a jQuery accordion. It rendered correctly initially when the accordion was rolled up by however when it was rolled down, the map position was thrown out.

    Managed to fix the marker location by creating a new event which fired out when the accordion rolled down which re-rendered the iFrame and map position.

    #52425

    Hi Kriesi,

    So do you think it has to do with the map loading while the tab loads? Maybe if the map is delayed in loading after the tabs load it will work? Please let me know what you think and if there’s a fix you can email me? Thanks!

    #52426

    My solution was to put the map outsideo any TAB.

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

The topic ‘Google Map Issue with Shortcode Tabs’ is closed to new replies.