Hi,
We
are not doing well trying to capture the editing event (modify or
insert) immediately after its occurrence in the Map, so as to access the edited
geometry in order to run certain post-editing checks or validations. In our
first try to achieve this, our class implements the IEditManagerListener
interface, and warns us through the method changed (EditManagerEvent event and
event = EDIT_FEATURE).
As
this event occurs immediately before editing, if the user starts a second edit
or clicks on any part of the Map Editor, we can ask for event.getOldValue ()
and get the old geometry. However, if the zoom button is clicked on, for
example, we have no way of accessing the edited geometry.
Which is supposed to be the most direct way
to implement post-editing validations?
Thanks in advance for any help.
Javi.
www.jsgisdev.wordpress.com
----------------------------------------------
Javier Sánchez Ramírez
Genasys II Spain, S.A.
Project
Manager
Ventura
de la Vega, 5
28014 - Madrid, SPAIN
Phone
+ 34 91 364 91 00
Fax + 34 91 364 91 19
GSM + 34 619413878
Email jsanchez@xxxxxxxxxxx
www.genasys.com
----------------------------------------------
Este
mensaje se dirige exclusivamente a su destinatario y puede contener información
privilegiada o confidencial. Si no es vd. el destinatario indicado, queda
notificado que la utilización, divulgacion y/o copia sin autorización está
prohibida en virtud de la legislación vigente. Si ha recibido este mensaje por
error, le rogamos nos lo comunique inmediatamente por esta misma vía y proceda
a su destrucción.
This
message is intended exclusively for its addressee and may contain information
that is confidential and protected by professional privilege. If you are not
the intended recipient you are hereby notified that any dissemination, copy or
disclosure of this communication is strictly prohibited by law. If this message
has been received in error, please inmediately notify us via e-mail and delete
it.
----------------------------------------------