UNPKG

@geogirafe/lib-geoportal

Version:

GeoGirafe is a flexible application to build online geoportals.

24 lines (23 loc) 908 B
import IGirafeContext from '../context/icontext.js'; import Feature from 'ol/Feature.js'; import AbstractSearchClient from './abstractsearchclient.js'; export type GmfSearchConfig = { type: 'geomapfish'; providerName: string; url: string; resultSrid: string; }; /** * A search provider for the GeoMapFish backend. * Extends the AbstractSearchClient and provides methods tailored to processing GMF-specific search results. * * Configuration: * - providerName: The name of the search provider, or geomapfish. * - url: The URL of the GMF search service. * - resultSrid: The spatial reference system (SRID) of the search results. Default same as map SRID. */ declare class GmfSearchClient extends AbstractSearchClient { constructor(context: IGirafeContext, config: GmfSearchConfig); groupedResults(results: Feature[]): Record<string, Feature[]>; } export default GmfSearchClient;