Add Web Layer
add_web_layerAdd XYZ, WMS, or WFS web layers to a QGIS project, specifying optional CRS for WMS/WFS while XYZ remains fixed to EPSG:3857.
Instructions
Add a web layer (XYZ, WMS, WFS) to the project. service: 'xyz', 'wms', 'wfs'. crs is optional and only meaningful for wms ('crs=' in the uri) and wfs ('srsname='): leave it unset to take whatever the service serves natively. XYZ tiles are always EPSG:3857, so requesting another CRS for them is an error rather than a silent no-op. The response reports the CRS the layer actually got.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| crs | No | ||
| url | Yes | ||
| name | No | ||
| service | Yes |