WMS Layer - okstate-maps/sideby GitHub Wiki
WMSTileLayer
A layer (or layers) served using the OGC WMS standard. Check out the Leaflet documentation for all the options. To use WMS layers in Sideby, there is an additional required field called layers
. layers
consists of the identifier (or comma separated identifiers) for the WMS layers of interest.
You can decipher the layer IDs by viewing the Get Capabilities statement for the WMS service. For the example below, the Get Capabilities URL is https://sedac.ciesin.columbia.edu/geoserver/wms?request=GetCapabilities
. If GeoServer is being used, you can use the layer preview page to more easily decipher the layer names. For the example layer, visit https://sedac.ciesin.columbia.edu/geoserver/web/ and click Layer Preview.
{
"layer_type": "WMSTileLayer",
"layers": "gpw-v3:gpw-v3-population-density_2000",
"url": "https://sedac.ciesin.columbia.edu/geoserver/wms",
"thumbnail_path": "wms2.JPG",
"display_name": "WMS Layer"
}