Yankovsky / google-maps-utility-library-v3

Automatically exported from code.google.com/p/google-maps-utility-library-v3
Apache License 2.0
0 stars 0 forks source link

tabs, onclick set active and show that tab. #150

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
how can i get this feature to work?

I have a infobubble() with 3 tabs, one is defined by default as Company.

the other two are pulled in through a for loop and are defined as so:

            var tabs = point[i].tabs;
            infoBubbles[i].addTab('Company', point[i].html);
            for (var ii = 0; ii < tabs.length; ii++) {
                infoBubbles[i].addTab(tabs[ii].tabTitle, tabs[ii].tabContent);
            }
this works great, it adds the tabs properly.. but when i click on a tab it 
doesnt switch to that tab unless i close the infobubble down and then reopen it.

Original issue reported on code.google.com by m.dev...@gmail.com on 27 Dec 2011 at 5:40