Allow style function to return a style
This commit is contained in:
@@ -199,7 +199,7 @@ ol.style.Style.prototype.setZIndex = function(zIndex) {
|
||||
* {@link ol.style.Style}. This way e.g. a vector layer can be styled.
|
||||
*
|
||||
* @typedef {function((ol.Feature|ol.render.Feature), number):
|
||||
* Array.<ol.style.Style>}
|
||||
* (ol.style.Style|Array.<ol.style.Style>)}
|
||||
* @api
|
||||
*/
|
||||
ol.style.StyleFunction;
|
||||
|
||||
Reference in New Issue
Block a user