| | |
| | | this.pointrange = 6000; |
| | | for (var i = 0; i < length; i++) { |
| | | var world = keyWorld[i].word; |
| | | if(world == '奔驰')return |
| | | // if (world == '奔驰') return |
| | | if (world.indexOf('奔驰公司') > -1) { |
| | | world = '奔驰'; |
| | | this.pointrange = 12000 |
| | |
| | | } else{ |
| | | continue |
| | | } |
| | | |
| | | this.setFuzzyQueryData(world, i, length - 1); |
| | | } |
| | | } |
| | |
| | | async setFuzzyQueryData(res, index, length) { |
| | | if (res == "信息技术" || res == "生物医药" || res == "机器人" || res == "汽车") { |
| | | shengwuSearch(res).then(result => { |
| | | var that = this; |
| | | var that = this; |
| | | store.queryLayer.data = []; |
| | | result.features.forEach(val => { |
| | | let itemObj = { |
| | | type: "园区", |
| | |
| | | } |
| | | }) |
| | | }, |
| | | |
| | | read(wkt) { |
| | | var regExes = { |
| | | typeStr: /^\s*(\w+)\s*\(\s*(.*)\s*\)\s*$/, |
| | |
| | | |
| | | return geometry; |
| | | }, |
| | | |
| | | //地图复位 |
| | | setMapRest() { |
| | | const data = mapData.mapRest; |
| | |
| | | duration: 8 //飞行时间8s |
| | | }); |
| | | }, |
| | | |
| | | //动画导航 |
| | | setLineRoaming() { |
| | | var valdata = mapData.animaNavigation; |
| | |
| | | geom.push(valdata[i].lng, valdata[i].lat, valdata[i].height); |
| | | } |
| | | |
| | | var that = this; |
| | | var that = this; |
| | | sgworld.Creator.getFlyData(geom, data => { |
| | | data.showPoint = false; |
| | | data.showLine = false; |
| | |
| | | //范围调用 |
| | | this.getLandmass(res); |
| | | }, |
| | | |
| | | setAddPointLocation(res) { |
| | | // 清除方法 |
| | | store.setlocalLayerShowAction(false); |
| | |
| | | this.setClearPointFly(); |
| | | vueEvents.$emit("queryLayer", false); |
| | | }, |
| | | |
| | | |
| | | setLacationLineClear() { |
| | | if (this.lacationLine) { |
| | | Viewer.entities.remove(this.lacationLine) |