Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/CesiumGS/cesium-workshop

An example application that visualizes and annotates a 3D city using the Cesium platform.
https://github.com/CesiumGS/cesium-workshop

cesium tutorial

Last synced: 2 months ago
JSON representation

An example application that visualizes and annotates a 3D city using the Cesium platform.

Awesome Lists containing this project

README

        

# cesium-workshop





A simple JavaScript app showcasing some features of [Cesium](http://cesium.com/cesiumjs), the open-source WebGL virtual globe and map engine. Learn more about this code by reading our [associated tutorial](https://cesiumjs.org/tutorials/Cesium-Workshop/).

**License**: Apache 2.0. Free for commercial and non-commercial use. See [LICENSE.md](LICENSE.md).

This application is intended to introduce the main features of Cesium in context, but it is by no means exhaustive. Feel free to fork and modify this example however you'd like.

Local server
------------

This app comes with a simple server ([`server.js`](./server.js)), but can be served through any means.

To use the packaged server:

* Install [node.js](http://nodejs.org/)
* From the `cesium-workshop` root directory, run
```
npm install
npm start
```

Browse to `http://localhost:8080/`

>Have python installed? If so, from the `cesium-workshop` root directory run
>```
>python -m SimpleHTTPServer 8080
>```
>(Starting with Python 3, use `python -m http.server 8080`).
>
>Browse to `http://localhost:8080/`

What's here?
------------

* [index.html](index.html) - A simple HTML page. Run a local web server, and browse to index.html to run your app, which will show our sample application.
* [Source](Source/) - Contains [App.js](Source/App.js) which is referenced from index.html. This is where the app's code goes.
* [server.js](server.js) - A simple node.js server for serving your Cesium app. See the **Local server** section.
* [package.json](package.json) - Dependencies for the node.js server.
* [LICENSE](LICENSE.md) - A license file already referencing Cesium as a third-party. This starter app is licensed with [Apache 2.0](http://www.apache.org/licenses/LICENSE-2.0.html) (free for commercial and non-commercial use). You can, of course, license your code however you want.
* [.gitignore](.gitignore) - A small list of files not to include in the git repo. Add to this as needed.

Cesium resources
----------------

* [Reference Documentation](https://cesium.com/docs/cesiumjs-ref-doc/) : A complete guide to the Cesium API containing many code snippets.
* [Sandcastle](https://sandcastle.cesium.com/) : A live-coding environment with a large gallery of code examples.
* [Tutorials](https://cesium.com/docs/) : Detailed introductions to areas of Cesium development.
* [Cesium Forum](https://groups.google.com/forum/?hl=en#!forum/cesium-dev) : A resource for asking and answering Cesium-related questions.