Visualizing WMTS data on a map requires two steps:

  1. Create a WMTSTileSetModel by connecting to the WMTS server.

  2. Use a RasterTileSetLayer to visualize the model.

WMTSTileSetModel.createFromURL("http://sampleservices.luciad.com/wmts", {layer: "92c09725-a9c5-46fb-bffd-d9e23b4abbf2"})
    .then(function(model) {
      //Create a layer for the WMTS model
      const layer = new RasterTileSetLayer(model);
      //Add the layer to the map
      map.layerTree.addChild(layer);
    });