Jamie, at the moment there's a race condition in the code which
depends on how fast the mouse is moving compared to how fast the
hoverMarker.show() method alters the DOM to get the hovermarker under
your moving cursor.  If it's quick enough then a mouseout event will
be triggered.

One problem is that you have one hovermarker which has many mouseout
handlers -- a different handler for every marker that's displayed on
the map, which means a lot of extra events are being triggered.

Usually hovering is taken care of by the CSS but if you want to do it
in code then perhaps you will need to set a timer, for example
http://www.nabble.com/Moving-mouse-fast-causes-mouseout-not-to-fire-td18184406s27240.html

You definitely need to draw a state machine diagram to ensure your
design handles all event transitions.

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