• Stars
    star
    162
  • Rank 231,268 (Top 5 %)
  • Language
    JavaScript
  • License
    Apache License 2.0
  • Created over 7 years ago
  • Updated 9 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,400
star
2

3d-tiles

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

gltf-pipeline

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

obj2gltf

Convert OBJ assets to glTF
JavaScript
1,677
star
5

cesium-unreal

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

3d-tiles-validator

Validator for 3D Tiles 🚦
TypeScript
415
star
7

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
393
star
8

cesium-native

C++
390
star
9

cesium-unity

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

3d-tiles-samples

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

3d-tiles-tools

TypeScript
248
star
12

cesium-webpack-example

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

quantized-mesh

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

cesium-unity-samples

Sample project for Cesium for Unity
C#
214
star
15

cesium-threejs-experiment

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

cesium-unreal-samples

Getting Started Sample Project for Cesium for Unreal
179
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
93
star
19

cesium-materials-pack

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

cdb-to-3dtiles

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

cesium-o3de

Cesium for O3DE
C++
70
star
22

cesium-omniverse

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

cesium-ion-rest-api-examples

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

cesium-unreal-vr-tutorial

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

cesium-vite-example

The minimal recommended setup for an application using Cesium with Vite.
JavaScript
27
star
26

cesium-ion-blender-addon

Blender add-on for uploading and tiling models with Cesium ion. https://cesium.com
Python
20
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
14
star
29

cesium-omniverse-samples

Sample projects for Cesium for Omniverse
12
star
30

3d-tiles-samples-generator

TypeScript
12
star
31

webstorm-plugin

Kotlin
8
star
32

OpenPhillyGlobe

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

cesium-ion-sketchup-extension

SketchUp extension for uploading and tiling models with Cesium ion.
Ruby
7
star
34

cesium-concierge

I automate common GitHub tasks
JavaScript
6
star
35

cesium-o3de-samples

Samples project for Cesium for O3DE
CMake
4
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