CesiumJS is a JavaScript library for creating 3D globes and 2D maps in a web browser without a plugin. It uses WebGL for hardware-accelerated graphics, and is cross-platform, cross-browser, and tuned for dynamic-data visualization.
@cesium/widgets
is a widgets library for use with CesiumJS—including the CesiumViewer
widget plus widgets for common tasks such as animation, base layer selection and geocoding.
Examples 🌏 Docs 🌎 Website 🌍 Forum 🌏 User Stories
@cesium/widgets
is published as ES modules with full typing support.
Install with npm
npm install @cesium/widgets --save
Or, install with yarn
yarn add @cesium/widgets
Import individual modules to benefit from tree shaking optimizations through most build tools:
import { Viewer } from "@cesium/widgets";
import "@cesium/widgets/Source/widgets.css";
const viewer = new Viewer("cesiumContainer");
See our Quickstart Guide for more information on getting a CesiumJS app up and running.
Have questions? Ask them on the community forum.
Interested in contributing? See CONTRIBUTING.md. ❤️
Apache 2.0. CesiumJS is free for both commercial and non-commercial use.