Re: [OpenMap Users] Too many re-draws (again)

From: David Ward <synriga_at_yahoo.com>
Date: Fri, 7 Oct 2005 07:46:36 -0700 (PDT)

Michael,

I had similar issues with our project.

Try using a BufferedLayer to contain your "Background" layers that don't
contain dynamic data.

For your layers, extend OMGraphicHandlerLayer.

Cheers,
David

--- "Dr. Michael Paus" <michael.paus_at_ibpaus.de> wrote:

> Hi all,
>
> I am currently struggeling with an OpenMap application with lots of layers
> which shows a very bad overall performance in the sense that after a
> projection change all layers are repainted but in such an uncoordinated
> way that many layers have to be painted several times until the
> application fianlly comes to a rest. I have seen complaints about this
> effect from other users before but I still have not found any solution
> proposal. I would like to do some of the following things:
>
> - Do not redraw until all layers are ready with their prepare().
> - Paint all layers in the correct order so that no layer has to be painted
> twice.
> - Do some more optimizations, e.g. if a raster layer covers the whole window
> there is no point in preparing and painting any layer below it.
>
> Does anybody have an idea of how to achieve this.
>
> Greetings
>
> Michael
>
>
> --
> [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"]
>


----
David Ward
ROLANDS & ASSOCIATES Corporation
500 Sloat Avenue
Monterey, CA 93940
USA
Tel: 1.831.373.2025
Fax: 1.831.373.2841
Email: synriga_at_yahoo.com
		
__________________________________ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com
--
[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 Fri Oct 07 2005 - 10:54:28 EDT

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