Zoom sensitivity in ImageryProvider

Hi Cesium

I am currently implementing TileCoordinatesImageryProvider but I only have around 5 or 6 level.

I don’t want to show blue globe after the maximumLevel but rather the last level that I have.

I also want to reduce the zooming sensitivity down, so that my 5 level can have a zoom distance of a 20 level.

Meaning, if user zoom to fast, it will go past the first 5 levels, I want to reduce the zoom movement so that

the zoom let say level 20 on Bing Map, would be equivalent level 5 on my ImageryProvider.

I just want to know if that is possible to such ratio scaling. At level 20 I would have 2^20 tiles across the globe, but I only have 2^5 to show. This might be insufficient.

Could someone please point me to the right direction?


I think what you are asking for is the ‘maximumLevel’ property of ImageryProvider. For example you can see fiddle with the TMS provider used in this example: http://localhost:8080/Apps/Sandcastle/index.html?src=Imagery%20Layers.html&label=Showcases