RE: [OpenMap Users] mouse events

From: Ben Podoll <>
Date: Mon, 9 Aug 2004 14:05:35 -0500

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

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) []
> Sent: Monday, August 09, 2004 1:20 PM
> To: Ben Podoll;
> 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: [mailto:owner-openmap-
> Behalf Of Ben Podoll
> Sent: Monday, August 09, 2004 1:41 PM
> To:
> 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 ""
> with the following text in the BODY of the message "unsubscribe
> openmap-users"]

[To unsubscribe to this list send an email to ""
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Mon Aug 09 2004 - 15:07:38 EDT

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