I have an openlayers vector layer with features added from a text file. I am now trying to access these features via their attributes (if layer.features.attributes.some_attribute equals to something hide the specific feature). However, I don't seem to be able to access the features at all. I cannot even count them. I think I need some basic advice on how this accessing is done.
My original question is Hiding specific icons/markers on text generated vector layer, and I'm trying to accomplish something like Openlayers - Vector Layer - Combining hide/show features using style property.
I thought I had all the clues I needed but must be making some basic coding error...