On Saturday 12 January 2008 14:40:25 Eric Lemoine wrote:
> Setting the drag handler's stopDown property to false won't help you
> because the event you want to get "click" not "mousedown". Anyhow the

D'oh, right ! (this is where slight forehead slapping takes place on my part).

> So apply the patch and replace
> drag.dragHandler.stopDown = false;
> with
> drag.featureHandler.stopHandledClick = false;
> Hope this helps,

Works like a charm.

> PS: if you'd like to quickly see this patch included in the trunk,
> feel free to open a ticket in the trac, complement my patch with
> tests, and attach the patch to the ticket. That'd be a good first code
> contribution to OpenLayers ;-)

Fair enough ;-) Submitted and awaiting review !

http://trac.openlayers.org/ticket/1266
_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users

Reply via email to