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();
forked from zhangti0708/cesium-measure
-
Notifications
You must be signed in to change notification settings - Fork 0
基于cesium的三维量测插件
JungleZy/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
Languages
- JavaScript 64.5%
- HTML 29.4%
- CSS 6.1%