GEvent.addListener(marker, "mouseover", function() {

marker.openInfoWindowHtml(html);

});

=====================================
I use the above code to open the info window when the mouse is over the
marker.

My question, what is the appropiate code to close the info window when
the mouse leaves the marker?



I thought this would work but NO.
=========================================

GEvent.addListener(marker, "mouseover", function() {

marker.openInfoWindowHtml(html);

});

// create an event closure

GEvent.addListener(marker, "mouseout", function() {

marker.closeInfoWindowHtml(html);

});



So what is that I need? Just want the info box to close after the mouse
moves off the marker.



Thanks

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps API V2" 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.

Reply via email to