https://t0.tianditu.gov.cn/img_w/wmts?SERVICE=WMTS&REQUEST=GetTile&VERSION=1.0.0&LAYER=img&STYLE=default&TILEMATRIXSET=w&FORMAT=tiles&TILEMATRIX={z}&TILEROW={y}&TILECOL={x}&tk=。For this string of map service addresses, I want to fill them into the CesiumWebMapTileServiceRasterOverlay script of Cesium For Unity. How should I fill in each field?
@jh007 Thanks for the question! If I understand the service you’re trying to access correctly, you should be able to use the Web Map Tile Service Raster Overlay with the URL set to http://t0.tianditu.gov.cn/img_w/wmts?tk=<your key here>
(you should replace <your key here>
with the value of tk
, which I didn’t want to include in my reply as you probably shouldn’t make your access key public! I would suggest removing it from your post as well ). You can set
layer
to img
, style
to default
, and tileMatrixSetID
to w
. This should be all the parameters required to get this WMTS service loading in Cesium for Unity!