Hi,
I'm writing you because I have a huge performance problem when I repaint several dynamic layers each 100 milliseconds.
I have static layers (which are defined in openmap.property) and dynamic layers which are defined in execution time. These dynamic layers contains a series of OMGraphics such as lines, polylines...etcetera.
The process to repaint (each 100 milliseconds) that I'm using is (after adding/modifing elements to omGraphicList):
omGraphicList = layer.prepare();
layer.setList(omGraphicList);
layer.repaint();
I don't know if I'm repainting in the best way (for example, i dont know if I could paint only the elements which have changed its location), but when I call repaint, the map goes slowly (zoom, pan...etc)
I'm using a MapBean (not BufferedMapBean), does it affect to the performance? (I have to say that I have no problem with static layers)
Anybody can help me?
Thanks in advance
Regards
-- [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 Fri Jul 16 08:15:33 2010
This archive was generated by hypermail 2.1.8 : Fri Jul 16 2010 - 08:15:34 EDT