Yes, use Handler.Click. There is a usage example in OpenLayers'
examples dir. Eric
2008/10/20, Greg Ederer <[EMAIL PROTECTED]>:
> Hi,
>
> Double clicking on a map zooms, which is a nice built-in. I have also
> registered a click event handler on a map, like so:
>
> map.events.register('click', map, function (e) {
> ...
> }
>
> The trouble is that when a user double clicks, both the click and double
> click handlers get called. Is there a way to cancel the click behavior
> when a double click occurs?
>
> Thanks!
>
> Greg
>
> --
> | E R G O N O S I S
> | Greg Ederer
> | Lead Developer
> | [EMAIL PROTECTED]
> | 360.774.6848
> |
>
> _______________________________________________
> Users mailing list
> [email protected]
> http://openlayers.org/mailman/listinfo/users
>
_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users