| | |
| | | }, |
| | | setLineOption1Chagne() { |
| | | this.roamLine = this.value1; |
| | | console.log(this.lineOption1); |
| | | }, |
| | | setRoamStart() { |
| | | if (!this.roamLine) return; |
| | |
| | | "coordinates": degreesArr |
| | | } |
| | | } |
| | | const fly = sgworld.factory.createDynamicObject(routeData, url, shuj); |
| | | // const fly = sgworld.factory.createDynamicObject(routeData, url, shuj); |
| | | earthCtrl.factory.getFlyData(degreesArr, data => { |
| | | data.showPoint = false; |
| | | data.showLine = true; |
| | | data.mode = 1; |
| | | data.mode = 0; |
| | | // 弹窗数据 |
| | | window.PathAnimationData = { |
| | | flyData: data, |
| | |
| | | }) |
| | | }, |
| | | setRoamStop() { |
| | | |
| | | window.PathAnimationData.fly && window.PathAnimationData.fly.exit(); |
| | | }, |
| | | |
| | | |