> 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
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
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
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