| | |
| | | }, |
| | | // 矩形正方形 |
| | | createRectangle(entity) { |
| | | this.delRectangle(); |
| | | var west = Cesium.Math.toDegrees( |
| | | entity.rectangle._coordinates.getValue().west |
| | | ); // 根据弧度获取到经度 |
| | |
| | | this.squareOjb.push(e); |
| | | // earthCtrl.Creator.SimpleGraphic.clear(); |
| | | Viewer.entities.remove(entity); |
| | | debugger |
| | | window.functionForJs({ |
| | | type: 'exportMap', |
| | | value: true |
| | | }) |
| | | }, |
| | | // 创建图形 |
| | | createSimpleGraphic(type, scene) { |
| | |
| | | }, |
| | | |
| | | //坐标定位 |
| | | Coordposition() {}, |
| | | Coordposition() { }, |
| | | //影像对比 |
| | | CurtainContrast() { |
| | | this.toolMenu = earthCtrl.analysis.createCurtainContrast({ |
| | |
| | | }, |
| | | //垂直高度 |
| | | verticalHeight() { |
| | | earthCtrl.measure.measureHeight(function (e) {}); |
| | | earthCtrl.measure.measureHeight(function (e) { }); |
| | | }, |
| | | //高程测量 |
| | | heightMeasure() { |
| | |
| | | polyline: Cesium.Color.fromCssColorString("#ffff0050"), |
| | | polygon: Cesium.Color.fromCssColorString("#ffff0050"), |
| | | }; |
| | | earthCtrl.Analysis.altitude(colorAll, () => {}); |
| | | earthCtrl.Analysis.altitude(colorAll, () => { }); |
| | | }, |
| | | //平面面积 |
| | | planeDistance() { |
| | | earthCtrl.analysis.getPlaneArea(function (e) {}); |
| | | earthCtrl.analysis.getPlaneArea(function (e) { }); |
| | | }, |
| | | //表面距离 |
| | | surfaceDistance() { |
| | |
| | | this.toolMenu = null; |
| | | } |
| | | }, |
| | | clearLeftTools(res) {}, |
| | | clearLeftTools(res) { }, |
| | | }; |
| | | export default menuTool; |