[OpenLayers-Users] redraw or refresh a text layer?

Eric Lemoine eric.c2c at gmail.com
Wed May 28 15:51:35 EDT 2008


On Tue, May 27, 2008 at 2:08 PM, Obe, Regina <robe.dnd at cityofboston.gov> wrote:
> Carl,
> Haven't worked with text layers in a while
>
> Have you tried tagging a random field on top of your layer with
> mylayer.mergeNewParams({rand: Math.random()})
>
>
> or doing a redraw
>
>
> mylayer.redraw(true)

Neither mergeNewParams() nor redraw(true) will work as Text layers
aren't HTTPRequest layers.

--
Eric



More information about the Users mailing list