Re: [OpenMap Users] Mime-Version: 1.0

From: Don Dietrick <dietrick_at_bbn.com>
Date: Mon, 27 Jun 2005 13:32:24 -0400

Hi Kim,

The StandardMapMouseInterpreter is created in the
getMapMouseInterpreter() method of the OMGraphicHandlerLayer, if it's
not set. That method actually calls setMapMouseInterpreter
(MapMouseInterpreter), and if you look at the source, you'll see that
there are some calls made on a StandardMapMouseInterpreter if that's
what is provided in that method. If your MapMouseInterpreter doesn't
inherit from the StandardMapMouseInterpreter, you'll probably want to
make sure the same calls are made for your object.

- Don


On Jun 22, 2005, at 9:57 AM, Kim Nguyen wrote:

> Hi,
> I try to override the StandardMapMouseIntepreter and use it for a
> layer that extends OMGraphicHandlerLayer, but I am not getting any
> mouse events. Where is the StandardMapMouseIntepreter is set in the
> case of DrawingToolLayer? Thank you
>
>
> --
> [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 Mon Jun 27 2005 - 13:32:41 EDT

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