----- Original Message ----- From: [EMAIL PROTECTED] To: Eric Lemoine [mailto:[EMAIL PROTECTED] Sent: Sat, 09 Aug 2008 16:08:45 +0200 Subject: Re: [OpenLayers-Users] Re moved markers still occupy memory :/
fine with me. I was obviously wrong. bye all. > > ----- Original Message ----- > From: Eric Lemoine > [mailto:[EMAIL PROTECTED] > To: [EMAIL PROTECTED], Christopher Schmidt > [mailto:[EMAIL PROTECTED], [email protected] > Sent: Sat, 09 Aug > 2008 14:50:01 +0200 > Subject: Re: [OpenLayers-Users] Re moved markers still > occupy memory :/ > > > > OpenLayers does not modify the prototypes of native JS types (Array, > > Function, etc.). Eric > > > > 2008/8/9, [EMAIL PROTECTED] <[EMAIL PROTECTED]>: > > > I stand corrected.. (again) :-) > > > > > > Still.. IE6 doesn't support it, so in the case of IE 6 it then probably > > gets > > > added to array's prototype somewhere. I searched for this possibility > but > > > couldn't find it in the code. I guess I spoke too soon. My apologies. > > > > > > > > >> Er, I think this is a very unlikely statement... removeItem is used > > >> extensively throughout the code, and if it didn't work in IE6, we'd > have > > >> a lot of trouble. > > >> > > >> I've just confirmed via Firebug Lite in IE that > > >> OpenLayers.Util.removeItem(['1','2','3'], '2') > > >> > > >> returns: > > >> > > >> ['1', '3'] > > >> > > >> So, I don't think looking at OpenLayers.Util.removeItem askance is > > >> likely to work well. > > >> > > >> Regards, > > >> -- > > >> Christopher Schmidt > > >> MetaCarta > > >> > > > > > > _______________________________________________ > > > Users mailing list > > > [email protected] > > > http://openlayers.org/mailman/listinfo/users > > > > > _______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
