Hi Rajesh,
Receiving MouseEvents is separate activity from putting ToolTips on the
map. You can use the MouseEvents to tell when and where to put up a
ToolTip.
For MouseEvents, your layer has to provide a
com.bbn.openmap.event.MapMouseListener if it wants to receive mouse
events. It can implement that interface and return itself, of course.
To put up a ToolTip, the Layer class has methods for that.
The DemoLayer does this.
- Don
On Tuesday, March 12, 2002, at 08:55 AM, Rajesh G S wrote:
> Hi All,
>
> I wanted to add a toolTip when the cursor is hovered over an
> item(point/poly/line) on the map. I checked the developer hints and
> faqs.
>> From what I understood, I have to extend the layer class and implement
>> the
> mouseMoved(MouseEvent) method. Is it so ?
>
> Waiting for your suggestions
>
> thanking you
>
> Rajesh
>
>
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
>
> --
> [To unsubscribe to this list send an email to "majdart@bbn.com"
> with the following text in the BODY of the message "unsubscribe
> openmap-users"]
>
>
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Don Dietrick, dietrick@bbn.com
BBN Technologies, Cambridge, MA
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
-- [To unsubscribe to this list send an email to "majdart@bbn.com" with the following text in the BODY of the message "unsubscribe openmap-users"]Received on Tue Mar 12 13:05:14 2002
This archive was generated by hypermail 2.1.8 : Thu May 12 2005 - 07:18:32 EDT