From 15f57538e794808d1a15be5f41f134b831b7fec5 Mon Sep 17 00:00:00 2001 From: Frederic Junod Date: Fri, 20 Apr 2018 08:39:45 +0200 Subject: [PATCH] Module type for ol.StyleFunction --- src/ol/layer/Vector.js | 2 +- src/ol/layer/VectorTile.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ol/layer/Vector.js b/src/ol/layer/Vector.js index 51538a72e3..f8a97598d1 100644 --- a/src/ol/layer/Vector.js +++ b/src/ol/layer/Vector.js @@ -40,7 +40,7 @@ import {createDefaultStyle, toFunction as toStyleFunction} from '../style/Style. * @property {boolean} [declutter=false] Declutter images and text. Decluttering is applied to all * image and text styles, and the priority is defined by the z-index of the style. Lower z-index * means higher priority. - * @property {module:ol/style/Style~Style|Array.|ol.StyleFunction} [style] Layer style. See + * @property {module:ol/style/Style~Style|Array.|module:ol/style~StyleFunction} [style] Layer style. See * {@link ol.style} for default style which will be used if this is not defined. * @property {number} [maxTilesLoading=16] Maximum number tiles to load simultaneously. * @property {boolean} [updateWhileAnimating=false] When set to `true`, feature batches will be diff --git a/src/ol/layer/VectorTile.js b/src/ol/layer/VectorTile.js index 764765fe81..7233a1ac61 100644 --- a/src/ol/layer/VectorTile.js +++ b/src/ol/layer/VectorTile.js @@ -49,7 +49,7 @@ import {assign} from '../obj.js'; * image and text styles, and the priority is defined by the z-index of the style. Lower z-index * means higher priority. When set to `true`, a `renderMode` of `'image'` will be overridden with * `'hybrid'`. - * @property {module:ol/style/Style~Style|Array.|ol.StyleFunction} [style] Layer style. See + * @property {module:ol/style/Style~Style|Array.|module:ol/style~StyleFunction} [style] Layer style. See * {@link ol.style} for default style which will be used if this is not defined. * @property {number} [maxTilesLoading=16] Maximum number tiles to load simultaneously. * @property {boolean} [updateWhileAnimating=false] When set to `true`, feature batches will be @@ -62,7 +62,7 @@ import {assign} from '../obj.js'; * means no preloading. * @property {ol.RenderOrderFunction} [renderOrder] Render order. Function to be used when sorting * features before rendering. By default features are drawn in the order that they are created. - * @property {(module:ol/style/Style~Style|Array.|ol.StyleFunction)} [style] Layer style. See + * @property {(module:ol/style/Style~Style|Array.|module:ol/style~StyleFunction)} [style] Layer style. See * {@link ol.style} for default style which will be used if this is not defined. * @property {boolean} [useInterimTilesOnError=true] Use interim tiles on error. */