On Aug 31, 11:18 pm, Chris Kilgus <[email protected]> wrote:
> thanks for the info, works like a charmalso, i have an issue that a dblclick
> event cause a click event any idea ?

This happens because a click event is triggered immediately. If it
wasn't, the click would have to wait for a "double-click" to fail to
appear before it registered as a single click. The documentation
should probably make that clear.

You could write a delaying routine yourself (click sets a timeout
which will run whatever you want to happen on a click; dblclick clears
the timeout and does the double-click action. If there isn't a double-
click in the timeout period, it's not cleared and single-click
function is run).

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