Dear Andrew, Many thanks for casting an eye over my code and highlighting the var/ function differences. In looking at it again, I can't even explain why I couldn't see this!
With regard to the tabs optionality, having deconstructed a Mike Williams example I was relatively sure that the API dealt with the tabs on the basis of content. So for a two tabbed info window, no content in the second tab's content, means that the API displays an ordinary tab-less infoWindow, regardless of the tab titles? Which means that the tab titles can be defined? Give or take my less-than- professional description, have I got this right? However, if anything in the previous paragraph gives the impression that I have a clue how to go about it, forgive me! It's at points like this that actually knowing what I'm doing would help! The code I'm footling around with looks like this: var tabs=[]; for (var i = 0; i < content2.length; i++) var title = [ "info" , "details" ] ; var text = [ html , "<div class=\"address_lines\">" + content2 + "<\/ div>"] ; tabs.push(new GInfoWindowTab(title,text)); map.openInfoWindowTabs(tabs); ...But this doesn't work of course! If I'm close, please correct me. If I'm miles away, ignore me and I'll hang my head in shame! -- You received this message because you are subscribed to the Google Groups "Google Maps API V2" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-maps-api?hl=en.
