I've attempted to implement a "floating" marker with a high zIndex value that will be shown on mouseover so that a marker that's partially, or completely, obscured by closely grouped markers in front of it is easily visible. However, I've encountered a problem with the mouseout event not firing if the mouse pointer is moved too quickly across the map markers. And by "too quick" I don't mean moving the mouse as quickly as possible. More like the speed at which it takes to move the mouse from the top of the (500px high) map to the bottom of the map in about 1/2 second.
The problem seems to be with the delay between the mouseover event and the GMarker.setLatLng() call. When the mouse pointer movement is too quick, the floating marker isn't in position to receive the mouseout event. A demonstration of the problem can be seen at http://crunchyfrog.net/map_tests/zindex The only workaround I've come up with so far can be seen at http://crunchyfrog.net/map_tests/zindex/partial_fix.html and only manipulates the floating marker when rolling over the sidebar entries and not the map markers themselves. While the workaround seems to be an acceptable solution, I'd like to know if I've done something wrong or overlooked something with the original code. Does anybody have suggestions for a fix? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
