Cesium Study Notes 1-CesiumWidget-Scene Structure

First, the search cesium on github, the cesium download.

Second, after the code downloaded, first install the dependent libraries download npm down, and then npm run build the package source files to generate a Cesium.js file, and finally run, npm start

Page as shown below:

Third, Sandcastle click the link, you can see all the examples cesium.

 Note: development section only after run build npm npm start to appear again

Fourth, the search example

Fifth, create Earth

method one:

 

 

 Method Two :( relatively pure a window, no extra ui)

 

Sixth, knowledge summary

 

 

 

 

Guess you like

Origin www.cnblogs.com/cyfeng/p/12206369.html