RE: [OpenMap Users] mouse events

From: Nagiel, Shahak (Mission Systems) <"Nagiel,>
Date: Mon, 9 Aug 2004 11:19:47 -0700

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"]
Received on Mon Aug 09 2004 - 14:20:30 EDT

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