Merge pull request #4024 from marcjansen/docs-featurestylefunction
Correct documentation for ol.FeatureStyleFunction
This commit is contained in:
+3
-2
@@ -283,8 +283,9 @@ ol.Feature.prototype.setGeometryName = function(name) {
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A function that returns a style given a resolution. The `this` keyword inside
|
* A function that returns an array of {@link ol.style.Style styles} given a
|
||||||
* the function references the {@link ol.Feature} to be styled.
|
* 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>}
|
* @typedef {function(this: ol.Feature, number): Array.<ol.style.Style>}
|
||||||
* @api stable
|
* @api stable
|
||||||
|
|||||||
Reference in New Issue
Block a user