Move Options to ol/format/WMSGetFeatureInfo

This commit is contained in:
Tim Schaub
2018-03-11 22:31:46 -06:00
parent 7d52a9b8c4
commit 03a7a6cb08
3 changed files with 9 additions and 25 deletions

View File

@@ -8,6 +8,14 @@ import XMLFeature from '../format/XMLFeature.js';
import {assign} from '../obj.js';
import {makeArrayPusher, makeStructureNS, pushParseAndPop} from '../xml.js';
/**
* @typedef {Object} Options
* @property {Array.<string>|undefined} layers If set, only features of the
* given layers will be returned by the format when read.
*/
/**
* @classdesc
* Format for reading WMSGetFeatureInfo format. It uses
@@ -15,7 +23,7 @@ import {makeArrayPusher, makeStructureNS, pushParseAndPop} from '../xml.js';
*
* @constructor
* @extends {ol.format.XMLFeature}
* @param {olx.format.WMSGetFeatureInfoOptions=} opt_options Options.
* @param {module:ol/format/WMSGetFeatureInfo~Options=} opt_options Options.
* @api
*/
const WMSGetFeatureInfo = function(opt_options) {