setTimeout()...on mouseover, add a timer to open the infowindow, and on mouseout, cancel it if it hasn't fired yet.

-G

On Apr 6, 2010, at 2:07 PM, itp wrote:


I love the ability to show bubble message on mouseover,
but how can I introduce a delay of 1-2 seconds of hovering
before bubble is displayed?  Otherwise user will gets barrage
of bubbles while moving across page.

        GEvent.addListener(marker,"mouseover", function() {
                marker.openInfoWindowHtml(bubble_message[0]);
        });

--
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 .


--
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