@geogirafe/lib-geoportal
Version:
GeoGirafe is a flexible application to build online geoportals.
19 lines (18 loc) • 622 B
TypeScript
import { XmlTypes } from './xmlTypes';
export interface LayerAttribute<WfsXmlTypes = XmlTypes> {
name: string;
type: WfsXmlTypes;
}
declare class ServerWfs<WfsXmlTypes = XmlTypes> {
name: string;
url: string;
layers: Record<string, LayerAttribute<WfsXmlTypes>[]>;
featureTypeToGeometryColumnName: {
[key: string]: string;
};
initialized: boolean;
constructor(name: string, url: string);
addLayerAttribute(layer: string, name: string, type: string): void;
getGeometryColumnNameToFeatureTypes(featureTypes: string[]): Record<string, string[]>;
}
export default ServerWfs;