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

Bruno Binet bruno.binet at camptocamp.com
Wed Jan 12 10:58:14 EST 2011


On 12 January 2011 16:15, Andreas Hocevar <ahocevar at opengeo.org> wrote:
> On Jan 12, 2011, at 14:15 , Eric Lemoine wrote:
>
>> On Wed, Jan 12, 2011 at 1:22 PM, Andreas Hocevar <ahocevar at opengeo.org> wrote:
>>> Hi Eric,
>>>
>>> thanks for your efforts. My only concern is that adding vertices on mouseup instead of mousedown negatively affects the user experience when a Snapping control is used. This is because the user doesn't see any more where the vertex is going to be snapped to.
>>>
>>> At this point, I have no idea how to solve this.
>>
>> Could you please elaborate? Do you see ux issues on
>> <http://dev.openlayers.org/sandbox/elemoine/draw-feature/examples/snapping.html>?
>
> Yes. Placing the first vertex of a line (in the example) or a point (in general) is a shot in the dark - you never know where it snaps to.

I agree, but we may adapt the snapping control to overcome this
limitation. By example we could show a sketch point when the mouse
pointer is located in a snapping area.

> Andreas.
>
>>
>> Thanks,
>>
>>
>>
>>
>>
>> --
>> 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
>
> --
> Andreas Hocevar
> OpenGeo - http://opengeo.org/
> Expert service straight from the developers.
>
> _______________________________________________
> Dev mailing list
> Dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/openlayers-dev
>



-- 
Bruno Binet

Camptocamp France SAS
Savoie Technolac, BP 352
73377 Le Bourget du Lac, Cedex

Mail : bruno.binet at camptocamp.com
http://www.camptocamp.com


More information about the Dev mailing list