Re: [OpenMap Users] mouse events

From: Don Dietrick <dietrick_at_bbn.com>
Date: Mon, 9 Aug 2004 15:31:02 -0400

OMGraphic.setAppObject(Object).

- Don

On Aug 9, 2004, at 3:05 PM, Ben Podoll wrote:

> Well it is more complicated than that...
>
> I have a weather observation at a certain lat/lon point that has a
> whole
> bunch of graphics: text, lines, arc, circles that all make up the
> observation.
>
> I would like to get ALL the information when the mouse is clicked (so
> each
> individual graphic really isn't what I am after)
>
> So let's say I have a custom object "Obs" that holds all my data, I
> want to
> cross reference the closest object (in lat/lon distance) and get that
> objects associated "Obs" object.
>
>> -----Original Message-----
>> From: Nagiel, Shahak (Mission Systems) [mailto:Shahak.Nagiel_at_ngc.com]
>> Sent: Monday, August 09, 2004 1:20 PM
>> To: Ben Podoll; openmap-users_at_bbn.com
>> Subject: RE: [OpenMap Users] mouse events
>>
>> Maybe I'm misunderstanding, but it looks like you're just calling the
>> toString() (perhaps implicitly) on the OMText objects. Why not call
>> the getData() to display the actual text?
>>
>> -----Original Message-----
>> From: owner-openmap-users_at_bbn.com [mailto:owner-openmap-
>> users_at_bbn.com]On
>> Behalf Of Ben Podoll
>> Sent: Monday, August 09, 2004 1:41 PM
>> To: openmap-users_at_bbn.com
>> Subject: [OpenMap Users] mouse events
>>
>>
>> I have a custom Layer that I have successfully implemented to capture
>> mouse
>> events. It can find the closest graphic on the screen but that is
>> stuff
>> like
>> this:
>>
>> com.bbn.openmap.omGraphics.OMText_at_d1ed3e
>> com.bbn.openmap.omGraphics.OMText_at_2e934e
>> com.bbn.openmap.omGraphics.OMText_at_1c8e807
>> com.bbn.openmap.omGraphics.OMText_at_f92aa3
>> com.bbn.openmap.omGraphics.OMArc_at_5e33d4
>> com.bbn.openmap.omGraphics.OMText_at_11bedb0
>> com.bbn.openmap.omGraphics.OMText_at_91ea7d
>>
>> I need to figure out how to associate a human readable text
>> description
>> with
>> each graphic so the output can be meaningful. How do I go about doing
>> this?
>>
>> Do I have to have some sort of hash in my layer that I cross reference
>> with
>> each graphic or something? Is there an example I can look at or anyway
>> someone can point me in the right direction?
>>
>> Thanks in advance,
>> Ben
>>
>>
>> --
>> [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"]
>
>


=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
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 Mon Aug 09 2004 - 15:31:37 EDT

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