From 393cf31046e17529cb55ab3f644e15ca34f88121 Mon Sep 17 00:00:00 2001 From: Peter Robins Date: Thu, 14 Jul 2016 11:05:30 +0100 Subject: [PATCH] Clarify that default source.Vector loader only handles features --- externs/olx.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/externs/olx.js b/externs/olx.js index 31060381b0..79739d8aa7 100644 --- a/externs/olx.js +++ b/externs/olx.js @@ -5849,8 +5849,8 @@ olx.source.VectorOptions.prototype.strategy; /** - * Setting this option instructs the source to use an XHR loader (see - * {@link ol.featureloader.xhr}). Use a `string` and an + * Setting this option instructs the source to load features using an XHR loader + * (see {@link ol.featureloader.xhr}). Use a `string` and an * {@link ol.loadingstrategy.all} for a one-off download of all features from * the given URL. Use a {@link ol.FeatureUrlFunction} to generate the url with * other loading strategies. @@ -5861,6 +5861,8 @@ olx.source.VectorOptions.prototype.strategy; * properly, this transformation will be incorrect. For some formats, the * default projection (usually EPSG:4326) can be overridden by setting the * defaultDataProjection constructor option on the format. + * Note that if a source contains non-feature data, such as a GeoJSON geometry + * or a KML NetworkLink, these will be ignored. Use a custom loader to load these. * @type {string|ol.FeatureUrlFunction|undefined} * @api */