AJ222

infoWindow mouse out event ?

Discussion created by AJ222 on Nov 14, 2013
Latest reply on Nov 14, 2013 by AJ222
Hi,

Was wondering if there is a way to assign a mouse out event to a maps infoWindow ?

I have added a feature layer to a map and have it so that when a user hovers over one of the features, the infoWindow pops up. Would like to make it so that the infoWindow is hidden when the user 'mousesOut' of the infoWindow.  Have tried 

map.infoWindow.on("mouse-out", function(evt){
      map.infoWindow.hide();
  });

No javascript error but it doesn't work.

Thanks

Outcomes