RE: [OpenMap Users] Date: Mon, 29 Oct 2007 16:08:54 -0400

From: Gao David <>
Date: Mon, 29 Oct 2007 17:06:07 -0400

Thanks for the advice Jay.

I tried the approach you recommended, but the isHighlightable() is still not being called. Apparently I'm still missing something.

On the plus side, I was able to resolve my previous issues with mouse events. I can now capture all of the mouse events and handle them in All that remains is the tooltip issue I'm still experiencing.


-----Original Message-----
From: Jay D. Askren []
Sent: Mon 10/29/2007 4:43 PM
To: Gao David;
Subject: RE: [OpenMap Users] Date: Mon, 29 Oct 2007 16:08:54 -0400
OMGraphicsHandlerLayer actually has tool tips built into it. Just
override isHighlightable to be true and override
getToolTipTextFor(OmGraphic). For more info, and some other useful
methods to override see this post:






-----Original Message-----
From: []
On Behalf Of Gao David
Sent: Monday, October 29, 2007 4:24 PM
Subject: [OpenMap Users] Date: Mon, 29 Oct 2007 16:08:54 -0400



I seem to be a little confused with the mouse event mechanism in

I've got a layer ( that extends OMGraphicsHandlerLayer and
another class ( that extends StandardMapMouseListener. I've
override the getMouseModeServiceList() and mouseClicked() in I
then created an instance of SM inside my MapLayer class and called
setMouseEventInterpreter. Lastly I use the mapHandler defined in my
MapFrame class to add the SelectMouseMode object.

When I fired up the app, none of the mouse event registered. What am I
doing wrong? My intention is to have a tooltip show up when a user hover
the mouse over an OMGraphic object.


[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 Oct 29 2007 - 17:06:40 EDT

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