# WMTSCapabilitiesLoader

class in `3d-tiles-renderer/three/plugins`, extends `LoaderBase`

```js
import { WMTSCapabilitiesLoader } from '3d-tiles-renderer/three/plugins';
```

Loader that fetches and parses a WMTS `GetCapabilities` XML document into a structured
JavaScript object. The result can be used to configure `WMTSImageSource`.

The parsed result has the shape:
```
{
  serviceIdentification: { title, abstract, serviceType, serviceTypeVersion },
  tileMatrixSets: [ { identifier, title, abstract, supportedCRS, tileMatrices } ],
  layers: [ { title, identifier, format, boundingBox, dimensions, styles,
              resourceUrls, tileMatrixSetLinks, tileMatrixSets } ],
}
```
Bounding box `bounds` arrays are in `[ minLon, minLat, maxLon, maxLat ]` order in radians.

## Constructor

```js
new WMTSCapabilitiesLoader( manager?: LoadingManager )
```

- `manager`, `LoadingManager`, optional
