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

From: Jay D. Askren <>
Date: Mon, 29 Oct 2007 16:43:42 -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 - 16:39:11 EDT

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