@cesium/engine
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/engine
is published as ES modules with full typing support.
Install with npm:
npm install @cesium/engine --save
Or, install with yarn:
yarn add @cesium/engine
Usage
import * as Cesium from "@cesium/engine";
import "@cesium/engine/Source/Widget/CesiumWidget.css";
const cesiumWidget = new Cesium.CesiumWidget("cesiumContainer");
Or, import individual modules to benefit from tree shaking optmtimizations through most build tools:
import { CesiumWidget } from "@cesium/engine";
import "@cesium/engine/Source/Widget/CesiumWidget.css";
const cesiumWidget = new CesiumWidget("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.