Class: WMSGetFeatureInfo

ol/format/WMSGetFeatureInfo~WMSGetFeatureInfo


import WMSGetFeatureInfo from 'ol/format/WMSGetFeatureInfo';

Format for reading WMSGetFeatureInfo format. It uses module:ol/format/GML2~GML2 to read features.

new WMSGetFeatureInfo(opt_options)

format/WMSGetFeatureInfo.js, line 38
Name Type Description
options

Options.

Name Type Description
layers Array.<string>

If set, only features of the given layers will be returned by the format when read.