| | |
| | | }; |
| | | }, |
| | | methods: { |
| | | // 定点绕飞 |
| | | handleAroundClick() { |
| | | this.closeCurrentOperator(); |
| | | store.setRoamPanelShow(false); |
| | |
| | | // //结束路径漫游 |
| | | // this.ljmy(); |
| | | // } |
| | | sgworld.drawObj = window.currentOperator = sgworld.Analysis.setPointFly(); |
| | | window.pointerFly=sgworld.drawObj = window.currentOperator = sgworld.Analysis.setPointFly(); |
| | | }, |
| | | // 结束顶点绕飞 |
| | | setClearPointFly() { |
| | | if (this.pointerFly) { |
| | | this.pointerFly && this.pointerFly.end(); |
| | | this.pointerFly = null; |
| | | } |
| | | }, |
| | | // 漫游 |
| | | handleRoamClick(result) { |
| | | store.setBasicMap("三维模型"); |
| | | store.setRoamPanelShow(false); |
| | | store.setSearchPanelShow(false); |
| | | const val = roman.filter((res) => { |
| | |
| | | }; |
| | | window.PathAnimationData.winIndex = layer.open({ |
| | | type: 2, |
| | | title: "路径动画", |
| | | title: result.name, |
| | | shade: false, |
| | | area: ["352px", "690px"], |
| | | area: ["100%", "200px"], |
| | | offset: "r", |
| | | skin: "other-class", |
| | | content: SmartEarthRootUrl + "Workers/path/Path.html", |