[OpenMap Users] repainting a layer

From: Lior Graf <liorg@mercury.co.il>
Date: Mon Dec 15 2003 - 08:51:23 EST

Hi All,

 

I am using my own implementation of a tooltip (a complicated one) when
pointing at specific locations on the LocationLayer (using the MouseMoved
listener of the layer. Instead of firing the event of the built in tooltip,
i am using my own mechanism for drawing a tooltip - when I find the location
I draw it, when I don't I call the repaint() method of the layer).

My problem is that when the scale is large (i.e., I am zoomed out
maximally), calling repaint() takes long time, and the tooltip stays for
long (2 seconds) before it disappears... on smaller scales (when I am zoomed
in), the repaint() is quite quick, thus my tooltip is vanishing quickly once
I move away from the location.

 

Is there any way to overcome that problem?

 

Regards,

 

Lior Graf

Software Developer

Mercury Interactive

 

Tel: 972 3 5399925

Mobile: 972 51 507302

Fax: 972 3 5331617

Email: <mailto:liorg@mercury.co.il> liorg@mercury.co.il

 

________________________________________________________________________
This email has been scanned for all viruses.

Mercury Interactive Corporation
Optimizing Business Processes to Maximize Business Results

--
[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 Mon Dec 15 08:54:12 2003

This archive was generated by hypermail 2.1.8 : Thu May 12 2005 - 07:18:37 EDT