From 638f8275aac89952bdc396937c92f50dfd8f81aa Mon Sep 17 00:00:00 2001 From: Antoine Abt Date: Tue, 25 Nov 2014 16:24:51 +0100 Subject: [PATCH] Export readFeatures method --- src/ol/format/wmsgetfeatureinfoformat.js | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/ol/format/wmsgetfeatureinfoformat.js b/src/ol/format/wmsgetfeatureinfoformat.js index 6f3178339f..0d928189e4 100644 --- a/src/ol/format/wmsgetfeatureinfoformat.js +++ b/src/ol/format/wmsgetfeatureinfoformat.js @@ -118,6 +118,18 @@ ol.format.WMSGetFeatureInfo.prototype.readFeatures_ = }; +/** + * Read all features from a WMSGetFeatureInfo response. + * + * @function + * @param {ArrayBuffer|Document|Node|Object|string} source Source. + * @param {olx.format.ReadOptions=} opt_options Options. + * @return {Array.} Features. + * @api stable + */ +ol.format.WMSGetFeatureInfo.prototype.readFeatures; + + /** * @inheritDoc */