• Stars
    star
    164
  • Rank 230,032 (Top 5 %)
  • Language
    JavaScript
  • License
    Apache License 2.0
  • Created over 7 years ago
  • Updated 11 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

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

cesium-workshop

A simple JavaScript app showcasing some features of Cesium, the open-source WebGL virtual globe and map engine. Learn more about this code by reading our associated tutorial.

License: Apache 2.0. Free for commercial and non-commercial use. See 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), but can be served through any means.

To use the packaged server:

  • Install node.js
  • 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 - 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 - Contains App.js which is referenced from index.html. This is where the app's code goes.
  • server.js - A simple node.js server for serving your Cesium app. See the Local server section.
  • package.json - Dependencies for the node.js server.
  • LICENSE - A license file already referencing Cesium as a third-party. This starter app is licensed with Apache 2.0 (free for commercial and non-commercial use). You can, of course, license your code however you want.
  • .gitignore - A small list of files not to include in the git repo. Add to this as needed.

Cesium resources

  • Reference Documentation : A complete guide to the Cesium API containing many code snippets.
  • Sandcastle : A live-coding environment with a large gallery of code examples.
  • Tutorials : Detailed introductions to areas of Cesium development.
  • Cesium Forum : A resource for asking and answering Cesium-related questions.

More Repositories

1

cesium

An open-source JavaScript library for world-class 3D globes and maps 🌎
JavaScript
12,828
star
2

3d-tiles

Specification for streaming massive heterogeneous 3D geospatial datasets 🌎
Batchfile
2,110
star
3

gltf-pipeline

Content pipeline tools for optimizing glTF assets. 🌐
JavaScript
1,915
star
4

obj2gltf

Convert OBJ assets to glTF
JavaScript
1,706
star
5

cesium-unreal

Bringing the 3D geospatial ecosystem to Unreal Engine
C++
924
star
6

cesium-native

C++
423
star
7

3d-tiles-validator

Validator for 3D Tiles 🚦
TypeScript
420
star
8

webglreport

A web page that reports a browser's WebGL capabilities, including supported extensions and implementation specific capabilities, such as the maximum number of texture units.
JavaScript
401
star
9

cesium-unity

Bringing the 3D geospatial ecosystem to Unity
C#
349
star
10

3d-tiles-tools

TypeScript
295
star
11

3d-tiles-samples

Sample tilesets for learning how to use 3D Tiles πŸ“š
JavaScript
274
star
12

cesium-webpack-example

The minimal recommended setup for an application using Cesium with Webpack.
JavaScript
246
star
13

quantized-mesh

Specification for streaming massive terrain datasets for 3D visualization.
238
star
14

cesium-unity-samples

Sample project for Cesium for Unity
C#
229
star
15

cesium-threejs-experiment

A small example for using Three JS on Cesium to emulate a combined scene.
JavaScript
187
star
16

cesium-unreal-samples

Getting Started Sample Project for Cesium for Unreal
183
star
17

wetzel

Generate Markdown documentation from JSON Schema
JavaScript
133
star
18

cesium-google-earth-examples

Google Earth plugin API samples ported to Cesium
JavaScript
94
star
19

cesium-materials-pack

A Cesium plugin with procedurally-shaded materials such as bricks, wood, and noise patterns
JavaScript
85
star
20

cdb-to-3dtiles

Convert CDB to 3D Tiles
C++
76
star
21

cesium-o3de

Cesium for O3DE
C++
74
star
22

cesium-omniverse

Bringing the 3D geospatial ecosystem to Omniverse
C++
56
star
23

cesium-ion-rest-api-examples

Code examples for using the Cesium ion REST API 🌎
JavaScript
35
star
24

cesium-vite-example

The minimal recommended setup for an application using Cesium with Vite.
JavaScript
34
star
25

cesium-unreal-vr-tutorial

Unreal Engine project, assets, and code used in the Cesium for Unreal VR Tutorial Series
33
star
26

cesium-ion-blender-addon

Blender add-on for uploading and tiling models with Cesium ion. https://cesium.com
Python
22
star
27

collada2gltf-web-service

Simple Node.js web service to convert 3D models from COLLADA to glTF
JavaScript
20
star
28

cesium-ion-3ds-max-plugin

Autodesk 3DS Max plugin for uploading and tiling models with Cesium ion.
MAXScript
15
star
29

cesium-omniverse-samples

Sample projects for Cesium for Omniverse
14
star
30

3d-tiles-samples-generator

TypeScript
12
star
31

webstorm-plugin

Kotlin
8
star
32

cesium-ion-sketchup-extension

SketchUp extension for uploading and tiling models with Cesium ion.
Ruby
8
star
33

OpenPhillyGlobe

"Google Earth for Philadelphia" with open source and open data.
JavaScript
7
star
34

cesium-o3de-samples

Samples project for Cesium for O3DE
CMake
6
star
35

cesium-concierge

I automate common GitHub tasks
JavaScript
6
star
36

strip-pragma-loader

JavaScript
4
star
37

eslint-config-cesium

ESLint Configuration for Cesium
JavaScript
1
star
38

cesium-ion-plugin-template

1
star