On Jun 25, 1:14 pm, Katie Adams <[email protected]> wrote:
> Google maps doesn't have a
> doubleclick event.

http://code.google.com/apis/maps/documentation/javascript/v2/reference.html#GMarker.dblclick

So you could have
  click
  click within your 400ms
  dblclick
or
  click
  dblclick because the user is using IE
or
  click
  click after your 400ms
  no dblclick because the dblclick interval is less than 400ms
or
  click
  click after your 400ms
  dblclick because the user has set a long interval in the mouse
properties.

The first two can be written fairly easily: a second click within
400ms cancels the first and waits for the dblclick event. The dblclick
event cancels any outstanding clicks, which will cater for IE. Case 3
is a standard two-single-click case. Case 4 could definitely be
problematic.

Unfortunately your code snippet is not helpful because it's so
incomplete and there's not enough information about your custom
functions. That's not an invitation to post more, though.

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