- 测量调用
-
cw5.measure.measureMent(type)
-
cw5.measure.measureCancel()
- 测量工具 measure
```javascript
import {cw5} from "../index.js";
export const measure = {};
/**
- 三维测量
- @param type 测量类型
*/
measure.measureMent = function (type) {
let __g = cw5.__g;
switch (type) {
case "line":
//直线测量
__g.interactMode = cw5.innerConfig.gviInteractMode.gviInteractMeasurement;
__g.measurementMode = cw5.innerConfig.gviMeasurementMode.gviMeasureAerialDistance;
break;
case "area":
//面积测量
更多参考https://xiaozhuanlan.com/topic/9650173824