cesium-yzslab-widgets
v2.1.1
Published
A widgets library for use with CesiumJS. CesiumJS is a JavaScript library for creating 3D globes and 2D maps in a web browser without a plugin.
Downloads
3
Maintainers
Readme
@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.
@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 :earth_asia: Docs :earth_americas: Website :earth_africa: Forum :earth_asia: 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. :heart:
License
Apache 2.0. CesiumJS is free for both commercial and non-commercial use.