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

jax at schildmos.nl jax at schildmos.nl
Fri Aug 8 18:28:52 EDT 2008


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
> 




More information about the Users mailing list