How to use the OGC WMTS service in your map
This tutorial shows how to add WMTS from MapTiler Cloud in your web map. The easiest way to add a WMTS to a map is to get the configuration information directly from the GetCapabilities response.
Copy the following code, paste it into your favorite text editor, and save it as a
Replace YOUR_MAPTILER_API_KEY_HERE with your actual MapTiler API key.
The next it’s up to you. You can start the map in a different place by modifying the
starting zoom, and you can change the look of the map to any of our styles, or yours, by updating the
source URL. See what’s available here.
Create the WMTS capabilities parser.
Get the WMTS Capabilities information and read it with the parser.
sourceto use the WMTS
If you want to learn more about OGC WMTS check out the WMTS article.