[OpenMap Users] How do I capture the event of dragging a graphic in a EditorLayer

From: Adams Tan <nikida78_at_email.domain.hidden>
Date: Mon Dec 08 2008 - 10:12:33 EST

Hi,

I have this layer extended from EditorLayer, and I have this scenario.

Using the default drawing tools, I add a rectangle. By extending the
drawingComplete method, I manage to capture
the boundaries of the rectangle (lat, lon) into another swing dialog box,
when the rectangle is created.

Next, I choose the select gesture, and I drag the rectangle (drawn
previously) across onto another position. The rectangle
is still in edit mode (with the corner selectors), since I hasn't off click
on the map yet. At this stage, I want to update the
boundaries of the rectangle displayed in abovementioned dialog box. However,
I can't find the event which I can locate the
OMGraphic (the rectangle) being dragged. The drawingComplete method hasn't
been fired at this point, so I can't use it either.

How can I capture this event, once the dragging of the edited OMGraphic
stops.

Thank you,
Adams Tan

--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Mon Dec 8 10:24:23 2008

This archive was generated by hypermail 2.1.8 : Mon Dec 08 2008 - 10:24:24 EST