From 2a64d9ef55721cae284674379784f4fbcfc2153d Mon Sep 17 00:00:00 2001 From: Peter Robins Date: Fri, 8 Apr 2016 18:35:16 +0100 Subject: [PATCH] Minor correction of StyleFunction docs --- src/ol/style/style.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ol/style/style.js b/src/ol/style/style.js index b0b2119138..1928057427 100644 --- a/src/ol/style/style.js +++ b/src/ol/style/style.js @@ -195,8 +195,8 @@ ol.style.Style.prototype.setZIndex = function(zIndex) { /** * A function that takes an {@link ol.Feature} and a `{number}` representing - * the view's resolution. The function should return an array of - * {@link ol.style.Style}. This way e.g. a vector layer can be styled. + * the view's resolution. The function should return a {@link ol.style.Style} + * or an array of them. This way e.g. a vector layer can be styled. * * @typedef {function((ol.Feature|ol.render.Feature), number): * (ol.style.Style|Array.)}