[OpenLayers-Users] Need Explanation of destroyFeatures()
Bill Thoen
bthoen at gisnet.com
Tue Aug 12 18:15:47 EDT 2008
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?
>
More information about the Users
mailing list