I want the Infobox to close on mouseleave. I've managed to do this with the
following code:
var markerinfo = new InfoBox({disableAutoPan: true, isHidden: false, pane:
'floatPane', enableEventPropagation : true});
// addListener to show infobox and set its content with #infobox id on marker
click here //
google.maps.event.addListener(markerinfo,'domready', function(e){
google.maps.event.addDomListener(document.getElementById('infobox),'mouseleave', function(marker,content,infobox){
return function() {
infobox.close(map,marker);
}
}(marker,content,markerinfo));
});
This works fine in Firefox and Opera but not in Chrome (26.0.1410.63)
Any leads on how can I fix this or alternative ways to accomplish this?
Version: InfoBox v1.1.12
Browser / Operating System:
Google Chrome
Original issue reported on code.google.com by rerer...@gmail.com on 11 May 2013 at 8:30
Original issue reported on code.google.com by
rerer...@gmail.com
on 11 May 2013 at 8:30