Cesium Utils Demo
This page demonstrates the capabilities of the @juun-roh/cesium-utils library, a utility package.
Environment
This demonstration is built using Next.js, the React framework, and leverages native Cesium APIs with a lightweight React wrapper for optimal performance and direct access to 3D geospatial capabilities.
Usage
The @juun-roh/cesium-utils package maintains vanilla CesiumJS compatibility, meaning you can use it in any Cesium project regardless of framework choice. The utilities work directly with standard Cesium objects and APIs.
Traditional CesiumJS
For traditional CesiumJS projects, import the utilities directly and use them with your existing viewer setup:
React Integration
When using React, the utilities integrate seamlessly with native Cesium viewers. Access the viewer through React refs or context and apply the utility methods: