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

From: Dr. Michael Paus <michael.paus_at_ibpaus.de>
Date: Sat, 08 Oct 2005 09:57:30 +0200

David Ward wrote:
> Michael,
>
> I had similar issues with our project.
>
> Try using a BufferedLayer to contain your "Background" layers that don't
> contain dynamic data.

But if I understand this correctly, it does not really solve the problem.
It may make repaints faster but it does not avoid them, right?

> For your layers, extend OMGraphicHandlerLayer.

How does this influence the repaint behaviour?

>
> 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"]
>




--
[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 Sat Oct 08 2005 - 03:58:32 EDT

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