On May 6, 2:39 am, Dave <dualrud...@gmail.com> wrote:
>
> The one area where I'm a bit frustrated is the handling of click
> events. When a user double clicks on the map, they want to zoom in.
> Why does a map click event fire? That just doesn't make sense.
> Clicking on the map is different user action than double clicking. And
> the fact that the click event happens before the doubleclick event
> means that I can't even stop the click event.
>

it's the same in V2, and to get around it you will need to set a
timeout to delay handling the click until it's sure there wasn't a
double click:

Version 3: click with timeout
http://www.william-map.com/20100506/1/v3click.htm

Version 2:
http://www.william-map.com/20100506/1/v2click.htm

...

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

Reply via email to