Format for reading WFS capabilities data
npm install ol-wfs-capabilitiesol/format/WMSCapabilities and ol/format/WMTSCapabilities.
js
import WFSCapabilities from 'ol-wfs-capabilities';
const parser = new WFSCapabilities();
const parsedCapabilities = parser.read(myWfsCapabilitiesSource);
`
Changelog
See CHANGELOG for details of changes in each release.
Install
$3
NPM package: ol-wfs-capabilities.
Install the package via npm
`shell
npm install ol-wfs-capabilities
`
$3
TypeScript types are shipped with the project in the dist directory and should be automatically used in a TypeScript project. Interfaces are provided for the Options.
Development
`shell
install dependencies
npm install
run test
npm test
run test without pretest
npx jest
run online example locally on http://localhost:3009/
npm run watch
``