Skip to content

About

基于cesium的基础三维量测插件

Resources

Stars

142 stars

Watchers

3 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

cesium-measure


基于cesium的三维量测插件

cesium-measure

说明

/cesium-measure/src/doc

使用

在项目中引入Cesium.js
然后引入 cesium-measure.js 即可
    let viewer = new Cesium.Viewer("viewerContainer")

    let measure = new Cesium.Measure(viewer)

    // 空间距离
    measure.drawLineMeasureGraphics({ clampToGround: clampToGround, callback: () => { } });

    // 空间面积
    measure.drawAreaMeasureGraphics({ clampToGround: clampToGround, callback: () => { } });

    // 三维量测
    measure.drawTrianglesMeasureGraphics({ callback: () => { } });

    // 清除
    measure._drawLayer.entities.removeAll();

 

 

 

About

基于cesium的基础三维量测插件

Resources

Stars

142 stars

Watchers

3 watching

Forks

Releases

Packages

Contributors

Languages