Has the map changed during the 40ms, like panning or zooming?
Is there objects on the map which has changed?
Don't repaint all layers, only those who might have changed.
Repaint only on changes of data.
If there is a burst of events, coalesce during a timeperiod and then
repaint using javax.swing.Timer .
These are the measures that I have made in my Openmap app.
HTH
/Jesper
Ruben DF skrev 2011-05-23 11:30:
> Hi,
>
> I'm afraid I cannot repaint each 500 ms or longer...it's a customer's
> requirement... :(
>
> Thanks anyway!
--
[To unsubscribe to this list send an email to "majdart_at_bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Mon May 23 2011 - 07:48:09 EDT