@cesium/widgets
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.
Examples
:earth_africa: Docs :earth_asia: Website :earth_americas: Forum
Install
@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
Usage
import * as CesiumWidgets from "@cesium/widgets";
import "@cesium/widgets/Source/widgets.css";
const viewer = new CesiumWidgets.Viewer("cesiumContainer");
Or, import individual modules to benefit from tree shaking optmtimizations 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 Cesium app up and running.
Have questions? Ask them on the community forum.
Interested in contributing? See CONTRIBUTING.md. :heart:
License
Apache 2.0. CesiumJS is free for both commercial and non-commercial use.