it may be worthy of mention that this forced redrawing is now
supported in trunk as:
layer.redraw(true);
see definition below:
/**
* APIMethod: redraw
* Redraws the layer. Returns true if the layer was redrawn, false if not.
*
* Parameters:
* force - {Boolean} Force redraw by adding random parameter.
*
* Returns:
* {Boolean} The layer was redrawn.
*/
redraw: function(force) {
if (force) {
return this.mergeNewParams({"_olSalt": Math.random()});
} else {
return OpenLayers.Layer.prototype.redraw.apply(this, []);
}
},
On 3/4/08, Tim Schaub <[EMAIL PROTECTED]> wrote:
> Hey-
>
> Gérald Quintana wrote:
> > Is there way to avoid image flickering when a layer is refreshing?
>
> Depends what type of layer you're talking about. If you really mean
> layers that use images, then this ticket addresses the issue:
>
> http://trac.openlayers.org/ticket/933
>
> Tim
>
> >
> > Gérald
> > _______________________________________________
> > Users mailing list
> > [email protected]
> > http://openlayers.org/mailman/listinfo/users
> >
> > !DSPAM:4033,47cbc70716951804284693!
> >
>
> _______________________________________________
> Users mailing list
> [email protected]
> http://openlayers.org/mailman/listinfo/users
>
_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users