Zoom Limit depending on the used data?

Hi,

is there a possibility to limit the zoom to a level, i.e. Level 20, because I have only data for this level and below ?

Rüdiger

Hi Rüdiger - would the maximumScreenSpaceError property of the Cesium3DTileset class work for you?

Hi Eli,

I don’t know - in which way can I use it ?

Rüdiger

You can limit the camera with min/max magnitude, in meters, when zooming:

viewer.scene.screenSpaceCameraController.maximumZoomDistance = 10000;
viewer.scene.screenSpaceCameraController.minimumZoomDistance = 100;