Personally, I feel the whole non-freehand digitizing control needs a
rewrite. When you digitize a point now, when you click you get a
feature, full stop. When you digitize a line now and double-click, you
get a feature, full stop. There are three significant drawbacks to this:
* Unless you are just doodling on your map, there is usually going
to be some sort of attribution associated with the geometry and
the way it is now, there is no clear way to link the geometry with
the attribution.
* There is no clear way to digitize multi-part geometries (inner
ring, multiline, multipolygon) the way it is done now.
* A geometry that you are digitizing should be selected and
draggable so that you can tweak the geometries after you draw them.
It is not a major change to change things from a drawing paradigm to an
editing paradigm. It is certainly plausible to do this for 2.6. All of
the functionality is there (DrawFeature, SelectFeature, ModifyFeature,
Drag, etc.). It just needs to be combined into a single control with
slightly different behavior. That way we can also do some other
intelligent things like allowing drag panning during digitizing and
using the cool insert-middle-vertex capability from the new
ModifyFeature control.
-Jeff (who is still trying to become part of the solution, not just some
guy firing off e-mails)
[EMAIL PROTECTED] wrote:
Message: 1
Date: Sat, 15 Sep 2007 09:18:07 +0200
From: "Pierre GIRAUD" <[EMAIL PROTECTED]>
Subject: Re: [OpenLayers-Users] Need for pan mode when digitizing a
feature near map edge
To: mcarsel <[EMAIL PROTECTED]>
Cc: [email protected]
Message-ID:
<[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1
Hello,
I agree with you that the best way to let the user digitizing outside
the current visible extent is to allow drag pan while digitizing.
We wrote this on top of the old sandbox vector code for a customer
specific project because the "automatic pan when cursor is close to
map edge" was actually too conflicting.
As said by Chris, we are interested in having this functionnality in
the trunk someday. Though, it is not scheduled and not a priority.
Feel free to open a ticket for that and patches are graciously accepted.
Developpers noe : this functionnality may be incompatible with freehand drawing.
Regards
Pierre
begin:vcard
fn:Jeff Yutzler
n:Yutzler;Jeff
org:IONIC Enterprise, Inc.
adr;dom:Suite 300;;901 N. Pitt St.;Alexandria;VA;22314
email;internet:[EMAIL PROTECTED]
title:Senior Geospatial Systems Engineer
tel;work:(703) 535-5973X17
tel;fax:(703) 535-5975
tel;cell:(703) 981-8753
x-mozilla-html:TRUE
version:2.1
end:vcard
_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users