Minor correction of StyleFunction docs
This commit is contained in:
@@ -195,8 +195,8 @@ ol.style.Style.prototype.setZIndex = function(zIndex) {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* A function that takes an {@link ol.Feature} and a `{number}` representing
|
* A function that takes an {@link ol.Feature} and a `{number}` representing
|
||||||
* the view's resolution. The function should return an array of
|
* the view's resolution. The function should return a {@link ol.style.Style}
|
||||||
* {@link ol.style.Style}. This way e.g. a vector layer can be styled.
|
* or an array of them. This way e.g. a vector layer can be styled.
|
||||||
*
|
*
|
||||||
* @typedef {function((ol.Feature|ol.render.Feature), number):
|
* @typedef {function((ol.Feature|ol.render.Feature), number):
|
||||||
* (ol.style.Style|Array.<ol.style.Style>)}
|
* (ol.style.Style|Array.<ol.style.Style>)}
|
||||||
|
|||||||
Reference in New Issue
Block a user