[OpenLayers-Users] Re moved markers still occupy memory :/

jax at schildmos.nl jax at schildmos.nl
Sat Aug 9 10:09:22 EDT 2008


----- Original Message -----
From: jax at schildmos.nl
To: Eric Lemoine
[mailto:eric.c2c at gmail.com]
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:eric.c2c at gmail.com]
> To: jax at schildmos.nl, Christopher Schmidt
> [mailto:crschmidt at metacarta.com], users at openlayers.org
> 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, jax at schildmos.nl <jax at schildmos.nl>:
> > > 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
> > > Users at openlayers.org
> > > http://openlayers.org/mailman/listinfo/users
> > >
> > 




More information about the Users mailing list