OpenLayers v4.0.1 API - Class: WMTSCapabilities

# Class: WMTSCapabilities

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

## ol.format.WMTSCapabilities

Format for reading WMTS capabilities data.

#### new ol.format.WMTSCapabilities()

src/ol/format/wmtscapabilities.js, line 20

### Extends

- ol.format.XML

### Methods

#### read(source){Object}

src/ol/format/wmtscapabilities.js, line 40

  Read a WMTS capabilities document.

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

  ##### Returns:

  An object representing the WMTS capabilities.