# Namespace: feature

## ol.feature

### Type Definitions

#### ol.feature.FeatureStyleFunction() experimental

src/ol/feature.js, line 223

  A function that takes a `{number}` representing the view's resolution. It returns an Array of `ol.style.Style`. This way individual features can be styled. The this keyword inside the function references the `ol.Feature` to be styled.

#### ol.feature.StyleFunction() experimental

src/ol/feature.js, line 272

  A function that takes an `ol.Feature` and a `{number}` representing the view's resolution. The function should return an array of `ol.style.Style`. This way e.g. a vector layer can be styled.