From 30b52ef21361b7d92f4afadb56ab1fcdd26febc0 Mon Sep 17 00:00:00 2001 From: Peter Robins Date: Mon, 20 Apr 2015 13:19:32 +0000 Subject: [PATCH] Improve docs for source.Vector options --- externs/olx.js | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/externs/olx.js b/externs/olx.js index 71fdd80090..5c7f87024e 100644 --- a/externs/olx.js +++ b/externs/olx.js @@ -4969,9 +4969,8 @@ olx.source.VectorOptions.prototype.features; /** - * The feature format used by the XHR loader when `url` is set. Required - * if `url` is set, otherwise ignored. Default is `undefined`. - * `url` + * The feature format used by the XHR feature loader when `url` is set. + * Required if `url` is set, otherwise ignored. Default is `undefined`. * @type {ol.format.Feature|undefined} * @api */ @@ -4980,7 +4979,8 @@ olx.source.VectorOptions.prototype.format; /** * The loader function used to load features, from a remote source for example. - * Note that the source will create and use an XHR loader when `src` is set. + * Note that the source will create and use an XHR feature loader when `url` is + * set. * @type {ol.FeatureLoader|undefined} * @api */ @@ -4997,8 +4997,7 @@ olx.source.VectorOptions.prototype.logo; /** * The loading strategy to use. By default an {@link ol.loadingstrategy.all} - * strategy is used, which means that features at loaded all at once, and - * once. + * strategy is used, a one-off strategy which loads all features at once. * @type {ol.LoadingStrategy|undefined} * @api */ @@ -5006,9 +5005,10 @@ olx.source.VectorOptions.prototype.strategy; /** - * Set this option if you want the source to download features all at once - * and once for good. Internally the source uses an XHR feature loader (see - * {@link ol.featureloader.xhr}). Requires `format` to be set as well. + * Setting this option instructs the source to use an XHR loader (see + * {@link ol.featureloader.xhr}) and an {@link ol.loadingstrategy.all} for a + * one-off download of all features from that URL. + * Requires `format` to be set as well. * @type {string|undefined} * @api */