I would start by putting the DrawingEditorTool in the mode after a
button is pressed (look in the actionPerformed(...) method), then ask
the mouse mode for the editable omgraphic and set it's location
accordingly. It should act as if the user started drawing the
OMGraphic there.
- Don
On Apr 14, 2005, at 5:53 PM, Joseph N. Goodman wrote:
> I was wondering if I could use an EditorLayer and a DrawingEditorTool
> to programatically create editable graphics on the map? I am trying
> to use the "create" method of the drawing tool to do this. It seems
> to create the graphic ok. I then set the location, and make the
> graphic visible. After this I don't see a graphic on the map. Is
> there another method of the tool I should call to make the graphic
> appear?
>
> Thanks
>
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Don Dietrick, dietrick_at_bbn.com
BBN Technologies, Cambridge, MA
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
--
[To unsubscribe to this list send an email to "majdart_at_bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Fri Apr 15 2005 - 10:35:34 EDT