Example of a WMTS source built from a WMTS getCapabilities response.
See the wmts-from-capabilities.js source to see how this is done.