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

Obe, Regina robe.dnd at cityofboston.gov
Tue May 27 08:08:55 EDT 2008


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)




or both.

I think the redraw was introduced in 2.6 or was it 2.5

Hope that helps,
Regina

 

-----Original Message-----
From: users-bounces at openlayers.org [mailto:users-bounces at openlayers.org]
On Behalf Of Carl Morgan
Sent: Tuesday, May 27, 2008 7:59 AM
To: users at openlayers.org
Subject: Re: [OpenLayers-Users] redraw or refresh a text layer?

Since there have been no replies as of yet, I thought I'd throw this 
back out there. Anybody have any insight on how I can redraw the text 
layer? At this point, I have to load up the text file in the browser and

manually reload it. Thanks for any advice!

-Carl
-----------------------------------------
The substance of this message, including any attachments, may be
confidential, legally privileged and/or exempt from disclosure
pursuant to Massachusetts law. It is intended
solely for the addressee. If you received this in error, please
contact the sender and delete the material from any computer.




More information about the Users mailing list