Add layerName option for WMSGetFeatureInfo format

This option allows the format to read only features of a
given layer. This is useful if you wish to make a single
query to a WMS server with multiple layers in it.
This commit is contained in:
Alexandre Dubé
2016-01-21 10:54:26 -05:00
parent b9c3981261
commit 906a132e89
6 changed files with 384 additions and 2 deletions
+18
View File
@@ -2217,6 +2217,24 @@ olx.format.WKTOptions;
olx.format.WKTOptions.prototype.splitCollection;
/**
* @typedef {{
* layers: (Array.<string>|undefined)
* }}
* @api
*/
olx.format.WMSGetFeatureInfoOptions;
/**
* If set, only features of the given layers will be returned by the format
* when read.
* @type {Array.<string>|undefined}
* @api
*/
olx.format.WMSGetFeatureInfoOptions.prototype.layers;
/**
* Namespace.
* @type {Object}