On Jul 21, 6:13 am, Lilia <[email protected]> wrote: > I was able to debug the 'popInfoWindow' errors. > > They were appearing because of a bit of Javascript I added in an > attempt to get that auto close functionality. When I removed the > following bits of code (lines 15-18, 77-78, 84 from my first post), > the errors went away: > > >> if(popInfoWindow) > >> { > >> popInfoWindow.close(); > >> } > > AND > > >>if(!popInfoWindow) > >> { > > ...... code here (didnt remove this > bit)..... > > >> } > > After that, I was left with two syntax errors but it had to do with an > apostrophe in the data. I fixed that too.
If you only want one infoWindow at a time, you could do what I did in my example, which is only have one infoWindow (like v2) and use it whenever an infoWindow is opened, changing the content appropriatedly, and close it on a map click. -- Larry -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" 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-js-api-v3?hl=en.
