Re: [OpenLayers-Users] Controls and map events

2008-01-12 Thread Eric Lemoine
On Jan 11, 2008 10:21 PM, Attila Csipa [EMAIL PROTECTED] wrote: Yes, I outdid myself with the parentheses, sorry about that. The code: var drag = new OpenLayers.Control.DragFeature(pointlayer,{ onStart: function(feature, pixel) {

Re: [OpenLayers-Users] Controls and map events

2008-01-12 Thread Attila Csipa
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

Re: [OpenLayers-Users] Controls and map events

2008-01-11 Thread Attila Csipa
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

Re: [OpenLayers-Users] Controls and map events

2008-01-11 Thread Eric Lemoine
On Jan 11, 2008 2:49 PM, Attila Csipa [EMAIL PROTECTED] wrote: 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

Re: [OpenLayers-Users] Controls and map events

2008-01-11 Thread Attila Csipa
On Friday 11 January 2008 17:49:09 Eric Lemoine wrote: 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

Re: [OpenLayers-Users] Controls and map events

2008-01-10 Thread Eric Lemoine
On Jan 9, 2008 1:18 PM, Attila Csipa [EMAIL PROTECTED] wrote: Stiff familiarizing myself with OpenLayers, I ran into something I'm not sure is a design intention or am I simply doing something wrong: Controls do not have events, and if I have a control that operates on features, my map events

[OpenLayers-Users] Controls and map events

2008-01-09 Thread Attila Csipa
Stiff familiarizing myself with OpenLayers, I ran into something I'm not sure is a design intention or am I simply doing something wrong: Controls do not have events, and if I have a control that operates on features, my map events get obstructed. Example - I have a Control.DragFeature on the