[OpenLayers-Users] Handling double click

Eric Lemoine eric.c2c at gmail.com
Mon Jun 9 12:49:50 EDT 2008


On Mon, Jun 9, 2008 at 3:02 PM, Kenneth Skovhede, GEOGRAF A/S
<ks at geograf.dk> wrote:
> Hi Eric.
>
> (I think my "DoubleClick" is an old version of the "Click" handler).
>
> I have now figured out the problem.
> I have a DragHandler registered.
> That means the "mousedown" / "mouseup" events are triggered.
> Since the "mouseup" is correctly handled, the "click" is never fired, and
> neither is "dblclick".
>
> Do you have any suggestion on how to deal with this problem?

Do you still have the problem if you make sure the click handler is
activated after the drag handler?

Can you share your code so that we can reproduce?

--
Eric



More information about the Users mailing list