OpenLayers v4.0.1 API - Class: WMSCapabilities

# Class: WMSCapabilities

This documentation is for OpenLayers v4.0.1. The latest is v.

## ol.format.WMSCapabilities

Format for reading WMS capabilities data

#### new ol.format.WMSCapabilities()

src/ol/format/wmscapabilities.js, line 18

### Extends

- ol.format.XML

### Methods

#### read(source){Object}

src/ol/format/wmscapabilities.js, line 38

  Read a WMS capabilities document.

  Name | Type | Description
  --- | --- | ---
  `source` | Document | Node | string | The XML source.

  ##### Returns:

  An object representing the WMS capabilities.