[OpenLayers-Dev] "allow pan while drawing" patch
Tim Schaub
tschaub at opengeo.org
Wed Jan 12 11:11:48 EST 2011
I like the behavior of other vector drawing software I've used where a
modifier key suspends the behavior of the activated tool or temporarily
activates another.
For example, in Illustrator, the space bar temporarily activates the
Hand Tool (for dragging) while drawing. This makes for fast
drawing/navigating and I think there are a lot of folks that already
work with this type of environment.
I know Google does it differently, but I don't necessarily think we have
to follow.
Tim
On 1/12/11 8:58 AM, Bruno Binet wrote:
> 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
>>
>
>
>
--
Tim Schaub
OpenGeo - http://opengeo.org
Expert service straight from the developers.
More information about the Dev
mailing list