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

https://github.com/danwild/cesium-demo

Repo for experimenting with CesiumJS functionality, and learning some JS build/dependency management tools.
https://github.com/danwild/cesium-demo

Last synced: over 1 year ago
JSON representation

Repo for experimenting with CesiumJS functionality, and learning some JS build/dependency management tools.

Awesome Lists containing this project

README

          

# cesium-demo
Repo for experimenting with CesiumJS functionality, and learning some JS build/dependency management tools.

Install/Run

Install npm dependencies:


`$ npm install`

Install bower dependencies:


`$ bower install`

Build:


`$ gulp`

Run:


`$ node server.js` (just using the express server that comes with cesium)

http://localhost:8080/

Gulp Stuff


  • Injects script and stylesheet tags into index.html for bower dependencies.

  • Uses main-bower-files to read in bower main files

  • Combines and uglifies js and css for angular components

Gulp TODO:


  • Get some SCSS || LESS happening, watch and compile

  • ...

Notes/Issues/Todo:


  • Not sure how to disable the built in WMS GetFeatureInfo popup box without setting
    WebMapServiceImageryProvider#enablePickFeatures to false.
    Currently just hiding with .cesium-infoBox-visible { display: none; }

  • Had issues with gulp using bootstrap 3.3.5 (main file/s not set correctly for css for bower), have rolled back to 3.3.4.

  • Switched to font-awesome-min fork which just uses css as bowers font-awesome wants LESS/SCSS. Update to main pkg when I get with the program...

  • Did try combining all js assets into one file to be minified, but tended to cause conflicts so sticking with uglier but more reliable inject script tag method.