Re: [OpenMap Users] Swapping OMGraphicLists

From: Don Dietrick <dfdietrick_at_gmail.com>
Date: Thu, 6 Oct 2011 10:39:21 -0400

Hi Tony,

I guess I don't understand why managing lists isn't working for you.
If that's the way you really want to go, I'd be glad to help you with
that - send me your layer code if you like, just so I can see how you
are managing your lists.

If you prefer the two layer approach, I'd check to see what's
happening with the MouseEvents - is your extended MouseMode sending
events to a different layer? Are your layers being added to it as
listeners? Is there a MouseDelegator in your application? You need
one to hook up your MouseMode with the layers, and the layer's
MouseModeServiceList should have the MouseMode id in it. See the
DemoLayer constructor for an example of this.

- Don

On Thu, Oct 6, 2011 at 1:16 AM, Tony Vasile <avasile_at_csc.com.au> wrote:
> I have given up trying to manage two separate lists and I have decided to
> add new layers, one with original symbol set and the other with
> MIL-STD-2525B symbol set and our original layer with our various OMGraphics
> (lines, images and other various shapes). My current problem is that I am no
> longer getting mouse events.
>
> The structure of our application is an object which extends BasicMapPanel
> and our various layers are added to this panel using addMapComponent. Before
> I added the new layers to get mouse events all we did was create a
> NavMouseMode object and used addMapComponent to add it to the BasicMapPanel
> and everything worked. Now with the two extra layers nothing is happening.
>  Any ideas?
>
> Tony Vasile
> Senior Software Engineer
> CSC
>
> Level 3B, 26 Talavera Road Macquarie Park NSW 2113 Australia
> GBS | p: +61 2 9034 2404 | f: +61 2 9034 2398 | avasile_at_csc.com |
> www.csc.com
>
>
> Please consider the environment before printing this e-mail.
>
> CSC - This is a private message. If you are not the intended recipient,
> please delete without copying and kindly advise us by e-mail of the mistake
> in delivery.  Note: Regardless of content, this e-mail shall not operate to
> bind CSC to any order or other contract unless pursuant to explicit written
> agreement or government initiative expressly permitting the use of e-mail
> for such purpose • CSC Australia Pty Limited; Registered Office: 26 Talavera
> Road, Macquarie Park NSW 2113 Australia; Incorporated in Australia ACN: 008
> 476 944
>

--
[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 Thu Oct 06 2011 - 10:40:46 EDT

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