RE: OMGraphicsList.findClosest()

From: Allen Kevin E SSgt AFIWC/IOAS <Kevin.Allen2@LACKLAND.AF.MIL>
Date: Wed Jan 16 2002 - 09:39:52 EST

   Thanks, I figured it wouldn't be too bad, but wanted to make sure I
wasn't duplicating the second thing I'd missed.

   Now for the REALLY tricky part :) I have a Layer which is basically a
view to a data model. On my map, I have 3 instances of this layer, all
looking at different types of the same data.

   Somehow, I want to compile the results from these clicks into a single
selection dialog, which will cover hits from all three layers. At the
moment, I'm not sure this is even possible. I've got some workaround ideas,
but most of them aren't reliable and the ones that are aren't good interface
design.

   Anyone ever worked with pulling click results from multiple layers into a
single action? Any ideas on how this might go? At the moment my best
option is a static list as part of the class, which gets populated as the
event passes through each layer, until the last one actually displays the
results. Worry with this is layer visibility - events don't get passed to
invisible layers, correct? So at that point figuring out how to know when
I'm done gets tricky...

   Any help appreciated.

Kevin E. Allen, SSgt, USAF
Air Force Information Warfare Center, IOASI
Database Applications Developer

> -----Original Message-----
> From: Donald Dietrick [mailto:dietrick@bbn.com]
> Sent: Tuesday, January 15, 2002 2:42 PM
> To: Allen Kevin E SSgt AFIWC/IOAS
> Cc: 'openmap-users@bbn.com'
> Subject: Re: OMGraphicsList.findClosest()
>
>
> Hi Kevin,
>
> The OMGraphicList doesn't have a method that you describe, but that
> wouldn't be hard to add.
> You could extend OMGraphicList to have the extra methods to
> do the same
> thing that findClosest() does, except add the ones that hit
> to a second,
> returned OMGraphic list rather then kicking out when the
> first one hits.
>
> You might have to think about order, if that is important to you.
>
> - Don
>
>
> On Tuesday, January 15, 2002, at 10:01 AM, Allen Kevin E SSgt
> AFIWC/IOAS
> wrote:
>
> > Hi all,
> >
> > I'm working with findClosest() in OMGraphicsList, a very handy
> > method for
> > dealing with click handling, I'd assume the intended purpose for it.
> >
> > My customer, as customers are wont to do, is being somewhat
> > troublesome,
> > however :) I now need to get ALL items in the list which
> are within the
> > click range, so I can present him with a list of the "hit" items to
> > choose
> > from. I couldn't find anything in OMGraphicsList which
> provided this
> > functionality. Figured I'd drop the idea to the list
> before I started
> > making changes, to see if it's hiding somewhere else I
> missed, or if it
> > might be in a newer version we're not using yet here.
> >
> > Thanks for your time.
> >
> > Kevin E. Allen, SSgt, USAF
> > Air Force Information Warfare Center, IOASI
> > Database Applications Developer
> >
> > --
> > [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"]
> >
> >
>
>
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> Donald Dietrick, dietrick@bbn.com
> BBN Technologies, Cambridge, MA
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>

--
[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 Wed Jan 16 09:38:28 2002

This archive was generated by hypermail 2.1.8 : Thu May 12 2005 - 07:18:32 EDT