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

Eric Lemoine eric.lemoine at camptocamp.com
Fri Feb 11 16:38:18 EST 2011


On Wed, Jan 19, 2011 at 7:26 PM, Tim Schaub <tschaub at opengeo.org> wrote:
> On 1/18/11 9:01 AM, Eric Lemoine wrote:
>>
>> On Thu, Jan 13, 2011 at 10:32 PM, Eric Lemoine
>> <eric.lemoine at camptocamp.com>  wrote:
>>>
>>> On Thursday, January 13, 2011, Tim Schaub<tschaub at opengeo.org>  wrote:
>>>>
>>>> I should add.  I'll be interested to hear what you think about
>>>> supporting freehand and snapping together.  This is a combination of
>>>> functionality that we're relying on.
>>>
>>> When drawing in freehand mode (for example with the freehand modifier
>>> key pressed) we could just dynamically make "pan while drawing"
>>> ineffective. So the freehand snapping combination would pretty much
>>> work like today.
>>
>> The examples at
>>
>> <http://dev.openlayers.org/sandbox/elemoine/draw-feature/examples/draw-feature.html>
>> and exemplifies this.
>>
>> My patch alters the user experience - points are added on mouseup, and
>> a point is drawn on activate. Given that I'm happy to create new
>> handlers, and place them in a new addin. This addin could be used as
>> an incubation home, and inclusion into the lib could be considered
>> later, for OpenLayers 3 for example.
>
> 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.

Please do :-)

<http://trac.osgeo.org/openlayers/ticket/3052> (patch-3052-A2.diff)


-- 
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


More information about the Dev mailing list