| | |
| | | // 添加编辑点图层 |
| | | this.emitPointLayer = new global.DC.VectorLayer('emitPointLayer') |
| | | global.viewer.addLayer(this.emitPointLayer) |
| | | |
| | | |
| | | // global.viewer.scene.globe.depthTestAgainstTerrain = true |
| | | } |
| | | |
| | | // draw执行这个 |
| | |
| | | |
| | | // this.EditMoveCenterPositoin = this.Cesium.Cartesian3.fromDegrees(this.drawCompletePosition[this.drawCompletePosition.length - 1].lng + 200 * lngOneM, this.drawCompletePosition[this.drawCompletePosition.length - 1].lat + 200 * latOneM, 0) |
| | | |
| | | // global.viewer.scene.globe.depthTestAgainstTerrain = true |
| | | |
| | | |
| | | // this.createEditMoveCenterEntity() |
| | | } else { |
| | |
| | | ) |
| | | }) |
| | | |
| | | |
| | | // console.log(polygon, 999) |
| | | |
| | | this.drawPolygonLayer.addOverlay(polygon) |
| | | |
| | | this.lastEventData = this.drawCompletePosition |