[OpenLayers-Users] Controls and map events

Attila Csipa plists at prometheus.org.yu
Fri Jan 11 08:49:20 EST 2008


On Thursday 10 January 2008 12:29:26 Eric Lemoine wrote:
> Since pretty soon, the drag handler has a stopDown API property that

Now that's what I call bleeding edge :)

> one can set to allow/disallow event propagation. You can try to do
> dragControl.dragHandler.stopDown = true. Currently, there's no way to

OK, I'm a bit confused here: stopDown = true _allows_ or disallows event 
propagation ? True is noted as the default and, interpreting the docs, stops 
(disallows) event propagation - (as the code itself is propagate 
= !this.stopDown;). From the svn log (and your message above) OTOH I'm under 
the impression it's the other way around. In any case (in mine DragHandler 
and a 'click' Map.Event above a feature), I've tried setting both true/false 
manually but that did not change much as (according to my admittedly poor 
firebug skills) the event still gets stopped in somebodys 
OpenLayers.Handler.Feature (maybe it needs a stopDown property, too, or 
modification to a common ancestor ?).

PS sorry if this is too technical, feel free to reply on -dev if it seems more 
appropriate.



More information about the Users mailing list