On Wednesday, September 22, 2010, Ricardo Bayley <[email protected]> wrote: > Hi everyone, > Can anyone tell me the difference between removeAllFeatures > and destroyFeatures Is it speed ? No difference at all ?
destroyFeatures destroys features, while removeAllFeatures and removeFeatures just remove features from the layers. Destroyed features cannot be used anyone, they're destroyed for ever. Features that have been removed can be added back to the layer. -- Eric Lemoine Camptocamp France SAS Savoie Technolac, BP 352 73377 Le Bourget du Lac, Cedex Tel : 00 33 4 79 44 44 96 Mail : [email protected] http://www.camptocamp.com _______________________________________________ Users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/openlayers-users
