about Web Map Tile Service (WMTS) imagery

hi , do you have “CesiumWebMapTileServiceRasterOverlay” example?
i config such baseUrl, but it can’t work.

Hi @beyondlei99, welcome to the community!

The base URL is usually the URL without any parameters. Try removing the ? and everything after it.

If you’d like a working example, you can copy the parameters over from the CesiumJS Sandcastle here. This is the “USGS Shaded Relief (via WMTS)” example:

    new Cesium.WebMapTileServiceImageryProvider({
      url:
        "https://basemap.nationalmap.gov/arcgis/rest/services/USGSShadedReliefOnly/MapServer/WMTS",
      layer: "USGSShadedReliefOnly",
      style: "default",
      format: "image/jpeg",
      tileMatrixSetID: "default028mm",
      maximumLevel: 19,
      credit: "U. S. Geological Survey",
    })