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();
-
Notifications
You must be signed in to change notification settings - Fork 84
基于cesium的基础三维量测插件
zhangti0708/cesium-measure
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
基于cesium的基础三维量测插件
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published