| | |
| | | </template> |
| | | |
| | | <script> |
| | | import $ from 'jquery'; |
| | | // 测量-信息弹窗 |
| | | import mapinfo from '../Tools/mapinfo.vue'; |
| | | export default { |
| | |
| | | } |
| | | elevationTool.render(); |
| | | break; |
| | | case '3': |
| | | var value = { |
| | | name: 'Analysis', |
| | | id: 3, |
| | | }; |
| | | this.$bus.$emit('mapChangeBox', value); |
| | | // var jsonurl = |
| | | // 'http://192.168.20.39:9055/gisserver/wnsserver/beijingdaohang_wns?start=' + |
| | | // '116.0867468497,39.937314280233' + |
| | | // '&end=' + |
| | | // '116.0860003269,39.936289981725' + |
| | | // '&propertyName=Shape&tolerance=500&request=FindPath&format=json'; |
| | | // $.ajax({ |
| | | // url: jsonurl, |
| | | // async: false, |
| | | // type: 'GET', |
| | | // dataType: 'json', |
| | | // contentType: 'application/json;charset=utf-8', |
| | | // success: (data) => { |
| | | // data.features.forEach((e) => { |
| | | // if (e.geometry.type == 'LineString') { |
| | | // //this.executeFly3D(e.geometry.coordinates); |
| | | // this.executeFly3D(e.geometry.coordinates); |
| | | // } |
| | | // }); |
| | | // }, |
| | | // }); |
| | | break; |
| | | case '4': |
| | | if (window.AnalysisDXPM) { |
| | | this.clear(res.id); |