How To add Navigation Controls

Hello, Is there any way to add navigation controls for zoom in, zoom out, home button similar to cesium stories (using viewerOptions or any other class).

Create an Interactive 3D Presentation with Cesium Stories _ cesium.com - Google Chrome 5_1_2021 9_40_13 PM (2)

<script>
    Cesium.defineProperties = Object.defineProperties;
</script>

<script src="./viewerCesiumNavigationMixin.min.js"></script>

<script>
    //Cesium.Ion.defaultAccessToken = "your access token";

    const viewer = new Cesium.Viewer('cesiumContainer', {});

    viewer.extend(Cesium.viewerCesiumNavigationMixin, {});
</script>

Source code

1 Like