[OpenLayers-Users] removeFeatures()

Jeff Dege jdege at korterra.com
Thu Mar 22 10:40:26 EDT 2007


What is the approved method for removing all features from a vector
layer?

I'm doing a
"displayAreasLayer.removeFeatures(displayAreasLayer.features);", but
it's leaving features behind.  If there are five features, before I call
removeFeatures(), there are two left afterwards.



More information about the Users mailing list