@cesium/widgets
Advanced tools
Comparing version 1.1.0 to 2.0.0
@@ -19,4 +19,2 @@ export { default as ClockViewModel } from './Source/ClockViewModel.js'; | ||
export { default as CesiumInspectorViewModel } from './Source/CesiumInspector/CesiumInspectorViewModel.js'; | ||
export { default as FullscreenButton } from './Source/FullscreenButton/FullscreenButton.js'; | ||
export { default as FullscreenButtonViewModel } from './Source/FullscreenButton/FullscreenButtonViewModel.js'; | ||
export { default as Geocoder } from './Source/Geocoder/Geocoder.js'; | ||
@@ -26,2 +24,4 @@ export { default as GeocoderViewModel } from './Source/Geocoder/GeocoderViewModel.js'; | ||
export { default as HomeButtonViewModel } from './Source/HomeButton/HomeButtonViewModel.js'; | ||
export { default as FullscreenButton } from './Source/FullscreenButton/FullscreenButton.js'; | ||
export { default as FullscreenButtonViewModel } from './Source/FullscreenButton/FullscreenButtonViewModel.js'; | ||
export { default as InfoBox } from './Source/InfoBox/InfoBox.js'; | ||
@@ -28,0 +28,0 @@ export { default as InfoBoxViewModel } from './Source/InfoBox/InfoBoxViewModel.js'; |
{ | ||
"name": "@cesium/widgets", | ||
"version": "1.1.0", | ||
"version": "2.0.0", | ||
"description": "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.", | ||
@@ -31,3 +31,3 @@ "keywords": [ | ||
"dependencies": { | ||
"@cesium/engine": "1.1.0", | ||
"@cesium/engine": "2.0.0", | ||
"nosleep.js": "^0.12.0" | ||
@@ -34,0 +34,0 @@ }, |
# @cesium/widgets | ||
![Cesium](https://github.com/CesiumGS/cesium/wiki/logos/Cesium_Logo_Color.jpg) | ||
[![Build Status](https://travis-ci.com/CesiumGS/cesium.svg?branch=main)](https://travis-ci.com/CesiumGS/cesium) | ||
[![npm](https://img.shields.io/npm/v/cesium/widgets)](https://www.npmjs.com/package/@cesium/widgets) | ||
[![npm](https://img.shields.io/npm/v/@cesium/widgets)](https://www.npmjs.com/package/@cesium/widgets) | ||
[![Docs](https://img.shields.io/badge/docs-online-orange.svg)](https://cesium.com/learn/) | ||
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](https://github.com/CesiumGS/cesium/wiki/logos/Cesium_Logo_Color.jpg) | ||
[Examples](https://sandcastle.cesium.com/) | ||
:earth_africa: [Docs](https://cesium.com/learn/cesiumjs-learn/) :earth_asia: [Website](https://cesium.com/cesiumjs) :earth_americas: [Forum](https://community.cesium.com/) | ||
[CesiumJS](../../README.md) 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**](https://sandcastle.cesium.com/) :earth_asia: [**Docs**](https://cesium.com/learn/cesiumjs-learn/) :earth_americas: [**Website**](https://cesium.com/cesiumjs) :earth_africa: [**Forum**](https://community.cesium.com/) :earth_asia: [**User Stories**](https://cesium.com/user-stories/) | ||
--- | ||
## Install | ||
@@ -32,11 +37,4 @@ | ||
```js | ||
import * as CesiumWidgets from "@cesium/widgets"; | ||
import "@cesium/widgets/Source/widgets.css"; | ||
Import individual modules to benefit from tree shaking optimizations through most build tools: | ||
const viewer = new CesiumWidgets.Viewer("cesiumContainer"); | ||
``` | ||
Or, import individual modules to benefit from tree shaking optmtimizations through most build tools: | ||
```js | ||
@@ -49,3 +47,3 @@ import { Viewer } from "@cesium/widgets"; | ||
See our [Quickstart Guide](https://cesium.com/learn/cesiumjs-learn/cesiumjs-quickstart/) for more information on getting a Cesium app up and running. | ||
See our [Quickstart Guide](https://cesium.com/learn/cesiumjs-learn/cesiumjs-quickstart/) for more information on getting a CesiumJS app up and running. | ||
@@ -58,4 +56,4 @@ ## Community | ||
### License | ||
## License | ||
[Apache 2.0](http://www.apache.org/licenses/LICENSE-2.0.html). CesiumJS is free for both commercial and non-commercial use. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
933200
57
+ Added@cesium/engine@2.0.0(transitive)
- Removed@cesium/engine@1.1.0(transitive)
Updated@cesium/engine@2.0.0