Here is the example Im using:
http://gmaps-samples-v3.googlecode.com/svn-history/r37/trunk/infowindow_custom/infowindow-custom.html
I modified the infobox style, but the code still the same. I want to
prevent the user to open more than one time the same infowindow. Every
time a user clicks on the marker the infobox is openened again, so
then you have to click more times in the X button.
I tried to (pseudocode)
if(!infobox){
var infoBox = new InfoBox();
}
but it doesnt work. I would like to prevent to open twice.
Also im looking for the way to close the infobox from a listener, for
example: open on mouseover and close when mouseout.
Can someone help me with this? I dont know how to deal with it.
--
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.