[geotk] canvas refresh rates

Martin Desruisseaux martin.desruisseaux at geomatys.fr
Fri Jul 22 13:25:40 EDT 2011


Hello Thys

Johann is away for the next couple of days. I think he will be back in 
approximatively one week, so he will be able to answer you at that time.

Regards,

     Martin



Le 21/07/11 18:21, Thys Meintjes a écrit :
> My app adds TargetGraphic :: AbstractGraphicJ2D to the canvas at rates of 
> minimum 1Hz. Calling canvas.refresh() with a large coverage (50M) loaded 
> results in
> very perceptible refreshing of the map (map = new 
> org.geotoolkit.gui.swing.go2.JMap2D() ); . Is there a better way to add 
> "dynamic" graphics to the map than what I'm doing here ?
>
>  private void addTarget(Target target) {
>         logger.debug("Target Arrived at Map: ", target.toString());
>         TargetGraphic tg = new TargetGraphic(canvas, target);
>         canvas.getContainer().add(tg);
>     }
>
> Maybe a memory resident renderer in stead of the streaming renderer ? I really 
> have little understanding of the geotk rendering bit...
>
> Thanks and regards
>
> -- 
> Thys Meintjes
>
>
>
>
> _______________________________________________
> Geotoolkit mailing list
> Geotoolkit at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/geotoolkit


More information about the Geotoolkit mailing list