I have a map (using OpenLayers) and a vector layer containing features(points). Sometimes I need to remove all features from the vector layer. When I use
vectorLayer.removeAllFeatures()
then it removes all features from only one zoom level. When I change zoom level, I see all my features again. How can I remove all features from all zoom levels?