[OpenLayers-Users] the right way to refresh a text layer?

Eric Lemoine eric.c2c at gmail.com
Sun Dec 2 16:20:27 EST 2007


On Dec 2, 2007 9:22 PM, Michal Rok <mrok at mrok.com> wrote:
> > Most probably you're hitting <http://trac.openlayers.org/ticket/1123>.
> > You can try the patch attached to this ticket to see if that makes the
> > memory leak go away. If so, we should definitely move forward with
> > that ticket.
>
> Dear Eric,
>
> I applied this patch but the result is the same. I suppose I'll switch to
> manually manipulating each marker, and only destroying it when the marker
> actually disappears from source file (the nature of my data is that 95% of
> objects just move, only 5% are appear/disappear).
>
> If you have any other patches to test out I'm happy to help.

Would you try the attached patch (absolutely untested!)?

--
Eric
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch-text-layer.diff
Type: text/x-diff
Size: 965 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/openlayers-users/attachments/20071202/663ff0e7/patch-text-layer.bin


More information about the Users mailing list