XUtils

Cesium

Open Source WebGL virtual globe and map engine.


CesiumJS

Build Status npm Docs

Cesium

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.

Built on open formats, CesiumJS is designed for robust interoperability and scaling for massive datasets.


Examples :earth_asia: Docs :earth_americas: Website :earth_africa: Forum :earth_asia: User Stories


:rocket: Get started

Visit the Downloads page to download a pre-built copy of CesiumJS.

npm & yarn

If you’re building your application using a module bundler such as Webpack, Parcel, or Rollup, you can install CesiumJS via the cesium npm package:

npm install cesium --save

Then, import CesiumJS in your app code. Import individual modules to benefit from tree shaking optimizations through most build tools:

import { Viewer } from "cesium";
import "cesium/Build/Cesium/Widgets/widgets.css";

const viewer = new Viewer("cesiumContainer");

In addition to the cesium package, CesiumJS is also distributed as scoped npm packages for better dependency management:

:white_check_mark: Features

  • Stream in 3D Tiles and other standard formats from Cesium ion or another source
  • Visualize and analyze on a high-precision WGS84 globe
  • Share with users on desktop or mobile

See more in the CesiumJS Features Checklist.


Articles

  • coming soon...