@loaders.gl/wms
Version:
Framework-independent loaders for the WMS (Web Map Service) standard
20 lines • 600 B
TypeScript
/** WMS Feature info - response to a WMS `GetFeatureInfo` request */
export type WMSFeatureInfo = {
features: WMSFeature[];
};
export type WMSFeature = {
attributes: Record<string, number | string>;
type: string;
bounds: {
top: number;
bottom: number;
left: number;
right: number;
};
};
/**
* Parses a typed data structure from raw XML for `GetFeatureInfo` response
* @note Error handlings is fairly weak
*/
export declare function parseWMSFeatureInfo(text: string, options: any): WMSFeatureInfo;
//# sourceMappingURL=parse-wms-features.d.ts.map