Re: [OpenMap Users] OMDrawingTool listener?

From: Donald Dietrick <dietrick_at_bbn.com>
Date: Wed, 30 Jul 2008 00:28:00 -0400

Hi Nickie,

The drawing tool takes an OMDrawingToolListener as an argument, that's
the object that gets called with the resulting OMGraphic when the
OMDrawingTool is dismissed. Your layer should implement that
interface and get passed to the tool. Check the DemoLayer for an
example.

Hope this helps,

Don

On Jul 29, 2008, at 1:05 PM, Democko, Nickie wrote:

> When the OMDrawingTool allows the user to create, with point/click, an
> OMRect, who gets notified when that rectangle is created? As far as I
> can tell, it disappears into the ether.
>
> Is it the DrawingLayer that is notified? If so, how can I get hold of
> that layer?
>
> Thanks,
> Nickie
>
> --
> [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"]

--
[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 Wed Jul 30 2008 - 00:28:32 EDT

This archive was generated by hypermail 2.3.0 : Tue Mar 28 2017 - 23:25:09 EDT