[OpenLayers-Dev] Re: "allow pan while drawing" patch

Xavier Mamano (jorix) xavier.mamano at gmail.com
Wed Feb 2 14:34:00 EST 2011

Hi Eric Lemoine,

Sorry, while awaiting the publication of the patch I could not resist the
temptation to look at the code.

And I've tested some adjustments for some problems:
 * persist:true
 * loss of points
 * drawing deformation while dragging
 * always add points when mouseup if stopDown=true (the end user will expect
this behavior)

Do you think what I have written can be helpful for the implementation of
"allow pan while drawing"? I do not know what to do with it. ??


A question:

The combination "stopDown=false and stopUp=true" together with DragPan or
ZoomBox not work properly. And using "stopDown=true and stopUp=false" the
observed behavior is the same as with stopDown=stopUp=true.
It is necessary to use two properties to control this?


Xavier Mamano

Eric Lemoine-2-2 wrote:
> On Wednesday, January 19, 2011, Tim Schaub <tschaub at opengeo.org> wrote:
>> I think this looks excellent and deserves a home in the trunk.  I'm sure
>> there will be things to work through in editing applications.  I'd
>> suggest that we should put out a wide requests for reviews based on a
>> completed patch.
>> Thanks for the work on this.  I look forward to testing it out in a few
>> applications.
> It sounds like a good idea. I'm looking forward to working on it
> again. I've identified issues with persist:true, and I'm sure I'll
> come across others when doing the real implementation.
> -- 
> Eric Lemoine
> Camptocamp France SAS
> Savoie Technolac, BP 352
> 73377 Le Bourget du Lac, Cedex
> Tel : 00 33 4 79 44 44 96
> Mail : eric.lemoine at camptocamp.com
> http://www.camptocamp.com
> _______________________________________________
> Dev mailing list
> Dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/openlayers-dev

View this message in context: http://osgeo-org.1803224.n2.nabble.com/allow-pan-while-drawing-patch-tp5914262p5986193.html
Sent from the OpenLayers Dev mailing list archive at Nabble.com.

More information about the Dev mailing list