If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread.
September 20, 2011 at 10:00 pm #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.September 20, 2011 at 10:08 pm #52421
I was able to reproduce your problem and I’ll mail Kriesi about this issue. A solution should follow shortly.September 23, 2011 at 5:18 pm #52422October 3, 2011 at 2:40 pm #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…October 16, 2011 at 3:21 pm #52424
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/ (Purchase code hidden if logged out) -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.November 14, 2011 at 2:12 pm #52425
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!November 22, 2011 at 5:36 pm #52426
The topic ‘Google Map Issue with Shortcode Tabs’ is closed to new replies.