Yes sorry it was a bit of a stupid question indeed... I am stuck though
as I need to have both events handled by the same element, which OK is
arguably bad practice... I guess I will have to do with the timer solution.
Pil wrote:
On Mar 8, 9:22 am, Thomas Lefort <lefortho...@gmail.com> wrote:
BTW what is the reason for triggering both events?
The reason is a logical one: A double click consists of two clicks -
using the same mouse button.
So if you want to isolate a double click event from a single click
event the first click of the double click event must be canceled by
turning back the clock. Logically and physically impossible.
If a double click event would only be possible when using an extra
button then this would be no problem.
--
You received this message because you are subscribed to the Google Groups "Google
Maps JavaScript API v3" group.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/google-maps-js-api-v3?hl=en.