From 95d247d332c580e4b3e06d010db77c6ee7582fbd Mon Sep 17 00:00:00 2001 From: Andreas Hocevar Date: Fri, 22 Jul 2016 14:54:41 +0200 Subject: [PATCH] Improve docs for the ol.LoadingStrategy type --- src/ol/typedefs.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/ol/typedefs.js b/src/ol/typedefs.js index 506ae41225..bf1b79d9d4 100644 --- a/src/ol/typedefs.js +++ b/src/ol/typedefs.js @@ -300,7 +300,9 @@ ol.LayerState; /** - * One of `all`, `bbox`, `tile`. + * A function that takes an {@link ol.Extent} and a resolution as arguments, and + * returns an array of {@link ol.Extent} with the extents to load. Usually this + * is one of the standard {@link ol.loadingstrategy} strategies. * * @typedef {function(ol.Extent, number): Array.} */