Reputation: 34034
Google Map API v3 fires the mouseout event when you hover your mouse on Zoom Panel, Pan Panel,etc. I think these are part of the map. So, hovering there should not trigger the mouseout event. Here you see this in action,
Any workaround in plain javascript or jquery will be appreciated? Bug Submitted at here.
Upvotes: 0
Views: 1093
Reputation: 117354
Use mouseleave instead:
$(map.getDiv()).mouseleave(function(){alert('Mouse Out')});
Upvotes: 1