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.
- Host: GitHub
- URL: https://github.com/danwild/cesium-demo
- Owner: danwild
- Created: 2015-08-24T05:50:16.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2015-09-17T06:19:26.000Z (over 10 years ago)
- Last Synced: 2025-01-07T21:33:44.928Z (over 1 year ago)
- Language: JavaScript
- Size: 37.1 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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)
Gulp Stuff
- Injects script and stylesheet tags into
index.htmlfor bower dependencies. - Uses
main-bower-filesto 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#enablePickFeaturestofalse.
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-minfork which just uses css as bowersfont-awesomewants 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.