UrlTemplateProvider

1. A concise explanation of the problem you're experiencing.

Currently i'll use tilemapserviceprovider for supporting raster images an offline use. My problem is that area i'll try to cover is too big and thats why tms structure crows too massive. I was wondering could i use urltemplateprovider instead of tilemapserviceprovider,
if i'll copy my geotiffs to folder and point that url to cesium via urltemplateprovider?

Is it possible?

2. A minimal code example. If you've found a bug, this helps us reproduce and repair it.

3. Context. Why do you need to do this? We might know a better way to accomplish your goal.

4. The Cesium version you're using, your operating system and browser.
Currently run on 1.38

Hi,

It should indeed be possible, see the docs for UrlTemplateImageryProvider, there is an example there for a TMS url as well as some other examples. Make sure you are somehow serving your geotiffs according to the template url as well.

Thanks,

Gabby

Note that browsers generally do not support geotiff imagery, so you can’t serve those files directly. Typically the best approach is to use a tiler program to create a quadtree of rasters ahead of time for best performance in serving requests.