[OpenLayers-Users] the right way to refresh a text layer?
Michal Rok
mrok at mrok.com
Wed Dec 5 01:19:37 EST 2007
> Would you try the attached patch (absolutely untested!)?
This appears to destroy the same thing twice. The line:
this.events.destroy();
in Marker.js causes a scripting error (this.events is null or not an
object) - apparently this.events does not exist at the time of execution. I
replaced this.events.destroy in Marker.js with the following:
if (this.events != null) {
this.events.destroy();
this.events = null;
}
(just like it is done with this.icon). There's no error message now, but
memory consumption keeps growing anyway.
regards,
Michal
More information about the Users
mailing list