Never mind.... I found a working example of destroyFeatures() in the source code in Vector.js under destroy:
Unlike most libraries, the source code to this one is amazingly helpful and well-organized. Bill Thoen wrote: > From the API online docs it appears that Layer.Vector.destroyFeatures() > takes two arguments. The first is optional and if you leave it off, then > all features in the vector layer are destroyed. But there's nothing > mentioned about the second parameter, options. Is it optional? How do > you use it? Can someone please show me a working example? > _______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
