Files
coopgo/node_modules/ol/format/WMSGetFeatureInfo.d.ts
sgauthier 6e64e138e2
All checks were successful
Publish To Prod / deploy_and_publish (push) Successful in 35s
planning
2024-10-14 09:15:30 +02:00

52 lines
1.3 KiB
TypeScript

export default WMSGetFeatureInfo;
export type Options = {
/**
* If set, only features of the given layers will be returned by the format when read.
*/
layers?: string[] | undefined;
};
/**
* @classdesc
* Format for reading WMSGetFeatureInfo format. It uses
* {@link module:ol/format/GML2~GML2} to read features.
*
* @api
*/
declare class WMSGetFeatureInfo extends XMLFeature {
/**
* @param {Options} [opt_options] Options.
*/
constructor(opt_options?: Options | undefined);
/**
* @private
* @type {string}
*/
private featureNS_;
/**
* @private
* @type {GML2}
*/
private gmlFormat_;
/**
* @private
* @type {Array<string>|null}
*/
private layers_;
/**
* @return {Array<string>|null} layers
*/
getLayers(): Array<string> | null;
/**
* @param {Array<string>|null} layers Layers to parse.
*/
setLayers(layers: Array<string> | null): void;
/**
* @param {Element} node Node.
* @param {Array<*>} objectStack Object stack.
* @return {Array<import("../Feature.js").default>} Features.
* @private
*/
private readFeatures_;
}
import XMLFeature from "./XMLFeature.js";
//# sourceMappingURL=WMSGetFeatureInfo.d.ts.map