Hi Alex- It's true that the reference says bindInfoWindow takes a DOM node and bindInfoWindowHtml takes a String, but the implementation is actually the same behind-the-scenes (and we detect what's passed in). We haven't figured out why bindInfoWindowHtml is buggy in Mapplets currently, so please use bindInfoWindow for now.
On Mon, Dec 15, 2008 at 2:26 AM, Esa <[email protected]> wrote: > > > > On Dec 14, 2:16 pm, Alex Monthy <[email protected]> wrote: > > > > meanwhile I understood that the 1st parameter for bindInfoWindowHtml() > > must not be a text string containing some html code but a variable > > representing an html element in the DOM tree, as for example can be > > retrieved with getElementById(). > > > > > According to documentation that is the case with bindInfoWindow() but > I don't see any difference in the code of bindInfoWindow() and > bindInfoWindowHtml(). > > The third type of accepted parameter is an array of GInfoWindowTab > objects. > > http://code.google.com/apis/maps/documentation/reference.html#GInfoWindowTab > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Maps API" 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 -~----------~----~----~----~------~----~------~--~---
