Hello!
I am sorry for an enormous delay in answer.
It’s similar one. I just thought that it would be better to separate it in two posts for local and for web access for tiles.
So, to make it clear, I am trying to implement both ways. I guess it would be better if we would discuss the remote variant.
I can’t figure out how to access tiles from public services. For example:
- I got an API from cloud.maptiler.com for a Raster Tiles (here is an example for this map).
I added a blank Cesium3DTileset, put a terrain from a cesium Ion (asset Id: 2499908) - it successfully loaded, the terrain was blank. After that I added a CesiumTileMapServiceRasterOverlay component on it. I put the URL:
https://api.maptiler.com/maps/toner-v2/tiles.json?key=myapi
to the Cesium > ‘Url’ property inside CesiumTileMapServiceRasterOverlay component. But then i got this error:
LogCesium: Error: [2024-04-01 11:43:16.032] [error] [RasterOverlayCollection.cpp:127] Unable to parse Tile map service XML document.
- Also here (api3.geo.admin.ch) I found a free 3D Tiles api:
https://vectortiles.geo.admin.ch/3d-tiles/ch.swisstopo.swisstlm3d.3d/20201020/tileset.json
I tried to put it directly to the Cesium3DTileset > Url. It didn’t show any errors, but the terrain was not here. I also tried to add DebugColorizeTiles overlay but they didn’t appear in the world with this tileset also.
- Again from here (api3.geo.admin.ch) I also found wmts api, added CesiumWebMapTileServiceRasterOverlay, put
https://wmts.geo.admin.ch/1.0.0/ch.swisstopo.swissimage/default/current/3857/{z}/{x}/{y}.jpeg
but again no errors were raised and the overlay still was not here.
A little remark: with terrain tileset from my Cesium Ion accound with Id 2499908, the debug overlay shows up correctly.
So, I would like to know what am I doing wrong.
And again, sorry for a such a big delay
p.s. Oops, just noticed that answered you from another account