I'm attempting to limit the features on a vector layer by searching by some attribute (preferably name). I've managed to get the array of features but cannot seem to work out how to iterate over them until I find one with a specified name.
I saw in earlier versions of OpenLayers there were functions like getFeatureByAttribute which could help but there doesn't seem to be anything like this any more.