-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
94 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,64 +1,80 @@ | ||
<p align="center"> | ||
<img src="https://github.com/CesiumGS/cesium/wiki/logos/Cesium_Logo_Color.jpg" width="50%" /> | ||
</p> | ||
# CesiumJS | ||
|
||
![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)](https://www.npmjs.com/package/cesium) | ||
[![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. | ||
|
||
[CesiumJS Homepage](https://cesium.com/cesiumjs) | ||
[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 Features Checklist](https://github.com/CesiumGS/cesium/wiki/CesiumJS-Features-Checklist) | ||
## :rocket: Get Started | ||
|
||
Visit the [Downloads page](https://cesium.com/downloads/) to download a pre-built copy of CesiumJS. | ||
|
||
### :rocket: Get Started | ||
### npm | ||
|
||
Visit the [Downloads page](https://cesium.com/downloads/) or install the [npm package](https://www.npmjs.com/package/cesium): | ||
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](https://www.npmjs.com/package/cesium): | ||
|
||
```sh | ||
npm install cesium | ||
npm install cesium --save | ||
``` | ||
|
||
```js | ||
import * as Cesium from "cesium"; | ||
import "cesium/Build/Cesium/Widgets/widgets.css"; | ||
|
||
const viewer = new CesiumWidgets.Viewer("cesiumContainer"); | ||
``` | ||
|
||
Or, import individual modules to benefit from tree shaking optmtimizations through most build tools: | ||
|
||
```js | ||
import { Viewer } from "cesium"; | ||
import "cesium/Build/Cesium/Widgets/widgets.css"; | ||
|
||
const viewer = new Viewer("cesiumContainer"); | ||
``` | ||
|
||
Have questions? Ask them on the [community forum](https://community.cesium.com/). | ||
#### Packages | ||
|
||
In addition to the `cesium` package, CesiumJS is also distrubuted as smaller scoped npm packages: | ||
|
||
- [`@cesium/engine`](./packages/engine/README.md) - CesiumJS's core, rendering, and data APIs | ||
- [`@cesium/widgets`](./packages/widgets/README.md) - A widgets library for use with CesiumJS | ||
|
||
### CDN | ||
|
||
Alternatively, [use a content delivery network (CDN) URL](https://cesium.com/learn/cesiumjs-learn/cesiumjs-quickstart/#import-from-cdn) to embed CesiumJS in an HTML page. | ||
|
||
### What next? | ||
|
||
See our [Quickstart Guide](https://cesium.com/learn/cesiumjs-learn/cesiumjs-quickstart/) for more information on getting a CesiumJS app up and running. | ||
|
||
TODO: Link to build guide/other local development docs | ||
|
||
Interested in contributing? See [CONTRIBUTING.md](CONTRIBUTING.md). :heart: | ||
|
||
### :snowflake: Mission | ||
## :snowflake: Mission | ||
|
||
Our mission is to create the leading 3D globe and map for static and time-dynamic content, with the best possible performance, precision, visual quality, platform support, community, and ease of use. | ||
|
||
### :green_book: License | ||
## :green_book: License | ||
|
||
[Apache 2.0](http://www.apache.org/licenses/LICENSE-2.0.html). CesiumJS is free for both commercial and non-commercial use. | ||
|
||
### :earth_americas: Where Does the 3D Content Come From? | ||
## :earth_americas: Where Does the 3D Content Come From? | ||
|
||
CesiumJS can stream 3D content such as terrain, imagery, and 3D Tiles from the commercial [Cesium ion](https://cesium.com/blog/2018/03/01/hello-cesium-ion/) | ||
platform and other content sources. You are free to use any combination of content sources with CesiumJS that you please. | ||
Using Cesium ion helps support CesiumJS development. :heart: | ||
|
||
### :clap: Featured Demos | ||
|
||
<p> | ||
<a href="https://cesium.com/blog/2018/08/21/cybercity/"><img src="https://images.prismic.io/cesium/2018-08-21-cover.jpg" width="30%" /></a> | ||
<a href="https://apps.agi.com/SatelliteViewer/?Status=Operational"><img src="https://images.prismic.io/cesium/2018-03-29-comspoc-cover.jpg" width="30%" /></a> | ||
<a href="https://cesium.com/blog/2018/02/05/historic-pharsalia-cabin-point-cloud/"><img src="https://images.prismic.io/cesium/2018-02-05-cover.jpg" width="30%" /></a> | ||
<a href="https://cesium.com/blog/2017/12/12/onesky/"><img src="https://images.prismic.io/cesium/2017-12-12-cover.jpg" width="30%" /></a> | ||
<a href="https://cesium.com/blog/2017/11/20/nasa-storm-virtual-globe/"><img src="https://images.prismic.io/cesium/2017-11-20-cover.jpg" width="30%" /></a> | ||
<a href="https://cesium.com/blog/2017/11/16/gefs/"><img src="https://images.prismic.io/cesium/2017-11-16-cover.jpg" width="30%" /></a> | ||
<a href="https://cesium.com/blog/2019/01/04/norad-tracks-santa/"><img src="https://images.prismic.io/cesium/2019-01-04-cover.jpg" width="30%" /></a> | ||
<a href="https://cesium.com/blog/2017/07/23/drcog/"><img src="https://images.prismic.io/cesium/2017-07-23-cover.jpg" width="30%" /></a> | ||
<a href="https://demos.cesium.com/NewYork/"><img src="https://images.prismic.io/cesium/2017-05-05-nyc-cover.jpg" width="30%" /></a> | ||
<a href="https://cesium.com/blog/2018/09/27/swisstopo-live/"><img src="https://images.prismic.io/cesium/2018-09-27-cover.jpg" width="30%" /></a> | ||
<a href="https://cesium.com/blog/2016/12/12/stk-czml/"><img src="https://images.prismic.io/cesium/2016-12-12-cover.jpg" width="30%" /></a> | ||
<a href="https://cesium.com/blog/2016/09/29/contextcapture/"><img src="https://images.prismic.io/cesium/2016-09-29-cover.jpg" width="30%" /></a> | ||
<a href="https://cesium.com/blog/2016/04/20/flightradar24/"><img src="https://images.prismic.io/cesium/2016-04-20-cover.jpg" width="30%" /></a> | ||
<a href="https://cesium.com/blog/2016/02/03/fodarearth/"><img src="https://images.prismic.io/cesium/2016-02-03-cover.jpg" width="30%" /></a> | ||
<a href="https://cesium.com/blog/2015/08/19/mars-trek/"><img src="https://images.prismic.io/cesium/2015-08-19-cover.jpg" width="30%" /></a> | ||
<a href="https://cesium.com/blog/2015/07/16/hiroshima-archive/"><img src="https://images.prismic.io/cesium/2015-07-16-cover.jpg" width="30%" /></a> | ||
<a href="https://cesium.com/blog/2019/06/13/red-bull-x-alps-in-cesium/"><img src="https://images.prismic.io/cesium/2015-10-02-cover.jpg" width="30%" /></a> | ||
<br/> | ||
<br/> | ||
</p> | ||
<h4><a href="https://cesium.com/blog/categories/userstories">See all demos</a></h4> | ||
Instructions for serving local data are in the CesiumJS | ||
[Offline Guide](./Documentation/OfflineGuide/README.md). | ||
|
||
## :white_check_mark: Features | ||
|
||
[CesiumJS Features Checklist](https://github.com/CesiumGS/cesium/wiki/CesiumJS-Features-Checklist) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters