Skip to content

Latest commit

 

History

History
56 lines (33 loc) · 2.03 KB

README.md

File metadata and controls

56 lines (33 loc) · 2.03 KB

@cesium/widgets

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.

@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


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 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.

Community

Have questions? Ask them on the community forum.

Interested in contributing? See CONTRIBUTING.md. ❤️

License

Apache 2.0. CesiumJS is free for both commercial and non-commercial use.