OpenLayers 3 Examples
WMTS example
Example of a WMTS source.
See the
wmts.js source
to see how this is done.
wmts