Coder Social home page Coder Social logo

xiaoqufengdi / cesium-workshop Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cesiumgs/cesium-workshop

0.0 1.0 0.0 15.22 MB

A simple JavaScript app showcasing some core features of Cesium.

Home Page: https://cesiumjs.org/tutorials/Cesium-Workshop/

License: Apache License 2.0

JavaScript 93.58% CSS 1.95% HTML 4.47%

cesium-workshop's Introduction

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.