Coder Social home page Coder Social logo

astromelon / csk Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cingulara/cesium-starterkit

0.0 0.0 0.0 31 KB

CesiumJS Starter Kit - A menu, event triggers, and drawing objects to get started with CesiumJS.

License: Apache License 2.0

JavaScript 89.61% CSS 5.07% HTML 5.31%

csk's Introduction

CesiumJS Starter Kit

This is a "starter kit" in the sense of showing how to link the CesiumJS map to Bing maps, GeoServer local maps, as well as interact with the CesiumJS large API to do things on the map to make it more interactive. This is very bare bones basic and a start to get people to see the power of CesiumJS and what you can use on top of it to build GIS applications.

There is a blog post here that goes over setting up GeoServer locally (or somewhere you choose) and how to load maps in it. This repo is the 2nd step: using those maps to build an application using a simple menu structure as a starting point. That 2nd blog post is here.

FYI this is NOT production ready. It does not use JS classes or try/catch and good error trapping. It also needs to have input validation on the form for the drawing options to only allow alphanumeric. It is to help you get ideas out there, prototype, and get used to the CesiumJS API. And it is to help me have a starting point next time I am asked to do a GIS-based application. Which seems to be more and more!

What this CesiumJS Starter Kit has

This is an example GH repo to show how you can use CesiumJS as a base for a GIS web application. I have this written up in a blog where you can see how it works. This gives you the base map, links to a local GeoServer with a few layers to add in, and an overall menu with examples of buttons, event listeners, and drawing on the map.

  • Menu
  • Event Listeners for drawing circles and polygons
  • Snapshot / Download the map screen
  • Turn layers on/off
  • Show the location of the mouse toggle
  • Modal window to edit the shape name, description, and color

The CesiumJS JS and CSS are linked off their main site. The HTML/CSS/JS here is to supplement or add addition look-and-feel as well as functionality on top of CesiumJS.

Additional Information

csk's People

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.