I'm developing a map app using the Google API, which is simply
unbelievably amazing (the API, not my app - Thanks, Google!) I have a
set of markers being placed on the map and I'm adding listeners that
trigger when the user takes the mouse over a marker. When this
happens, a call-out style pop-up window appears with info about the
marker. I think this is a fairly standard scenario. My question is
whether I can configure the 'onmouseover' event to require a certain
period of time to elapse before the function triggers. It can be a
bit distracting and annoying when moving the mouse across the map to
get to a control (zoom in/out, etc.) and tripping the pop-ups causing
the map to move around.
GEvent.addListener(marker, 'mouseover', function() {
marker.openInfoWindowHtml(html, {maxWidth: "280"});
//drawMapTable(name, address, radius, point.lat(),
point.lng());
});
Any help is greatly appreciated. Thanks!
--
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.