Correct documentation for ol.FeatureStyleFunction

This commit is contained in:
Marc Jansen
2015-08-20 10:39:59 +02:00
parent 6260c4d744
commit c2f4b38981

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