ol-ext: WMS Capabilities control
✓ Published0🌍 Public
TThomasG77
Last edited Apr 15, 2024
Created on Apr 15, 2024
This example demonstrates the ol-ext WMSCapabilities control, which loads WMS layers onto an OpenLayers map. It shows a dialog for selecting a service and displaying available layers via the GetCapabilities request. The code uses the ol.control.WMSCapabilities API, OpenLayers map, and a Grid.js table for layer metadata. Users can search services like BRGM and Sandre, with the layer definition output to the console. The map view uses EPSG:2154 projection, and a LayerSwitcher and SearchNominatim control are also included.
AI-generated description