UNPKG

@deltares/fews-wms-requests

Version:

Library for making requests to the FEWS WMS-T webservice

17 lines (16 loc) 886 B
import { GetCapabilitiesFilter } from "./requestParameters/getCapabilitiesFilter"; import type { GetCapabilitiesResponse } from "./response/getCapabilitiesResponse"; import { GetLegendGraphicFilter } from "./requestParameters/getLegendGraphicFilter"; import type { GetLegendGraphicResponse } from "./response/getLegendGraphicResponse"; import { PiRestService } from "@deltares/fews-web-oc-utils"; import type { TransformRequestFunction } from "@deltares/fews-web-oc-utils"; export declare class WMSProvider { private readonly baseUrl; webservice: PiRestService; constructor(baseUrl: string, options?: { transformRequestFn?: TransformRequestFunction; }); getCapabilities(filter: GetCapabilitiesFilter): Promise<GetCapabilitiesResponse>; getLegendGraphic(filter: GetLegendGraphicFilter): Promise<GetLegendGraphicResponse>; private executeWMSRequest; }