Isn't getFeatureWithUid implemented by vector layers only?