Add a getFeatures method on the vector layer
Do not use a temporary layer for selected features