[Google Maps API v3] Re: Some problems with markers update and with closing

2011-05-17 Thread Rossko
> Any ideas? What's the question? Why aren't existing infowindows closed when you open a new one? You have no code in place to make that happen. Already shown you http://www.google.com/url?sa=D&q=http://gmaps-samples-v3.googlecode.com/svn/trunk/single-infowindow/single-infowindow.html which has

[Google Maps API v3] Re: Some problems with markers update and with closing

2011-05-17 Thread thebit
Any ideas? -- 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 google-maps-js-api-v3@googlegroups.com. To unsubscribe from this group, send email to google-maps-js-api-v3+unsubscr...@googlegroup

[Google Maps API v3] Re: Some problems with markers update and with closing

2011-05-11 Thread thebit
Hello, now I remember: I worte the closeAllInfoWindows function because I had the problem that each infowindow opened did not close the previous opened infowindow. In fact, if you try now (at the same page) you can see the same error: the previous opened infowindow are not closed. -- You receive

[Google Maps API v3] Re: Some problems with markers update and with closing

2011-05-06 Thread Esa
An error was thrown to me on: function closeAllInfoWindows() { if(cont != -1) { markersArray[cont].infoWindow.close(); cont = -1; } } I think the value of 'cont' was out of sync. You don't need that function if you create just a s