Merge pull request #4024 from marcjansen/docs-featurestylefunction

Correct documentation for ol.FeatureStyleFunction
This commit is contained in:
Marc Jansen
2015-08-20 10:59:08 +02:00

View File

@@ -283,8 +283,9 @@ ol.Feature.prototype.setGeometryName = function(name) {
/**
* A function that returns a style given a resolution. The `this` keyword inside
* the function references the {@link ol.Feature} to be styled.
* A function that returns an array of {@link ol.style.Style styles} given a
* resolution. The `this` keyword inside the function references the
* {@link ol.Feature} to be styled.
*
* @typedef {function(this: ol.Feature, number): Array.<ol.style.Style>}
* @api stable