| | |
| | | pointerFly: null, //定点漫游 |
| | | isShow: false, |
| | | objArr: [], |
| | | pointrange:null, |
| | | |
| | | //关键字查询 |
| | | getFuzzyQuery(res) { |
| | | if(res.message.indexOf('奔驰')>-1){ |
| | |
| | | |
| | | this.dataQuery = []; |
| | | this.objArr = []; |
| | | this.pointrange = 2000; |
| | | for (var i = 0; i < length; i++) { |
| | | var world = keyWorld[i].word; |
| | | if(world.indexOf('奔驰')>-1){ |
| | | world ='奔驰' |
| | | world ='奔驰'; |
| | | this.pointrange = 12000 |
| | | } else if(world.indexOf('永昌')>-1){ |
| | | world ='永昌' |
| | | }else if(world.indexOf('京东')>-1){ |
| | | world ='京东' |
| | | }else if(world.indexOf('小米')>-1){ |
| | | world ='小米' |
| | | }else if(world.indexOf('博大')>-1){ |
| | | world ='博大' |
| | | }else if(world.indexOf('博大大厦')>-1){ |
| | | world ='博大大厦' |
| | | }else{ |
| | | continue; |
| | | } |
| | |
| | | data.showLine = false; |
| | | data.mode = 1; |
| | | data.pitch = -10; |
| | | data.height = 75; |
| | | data.height = 500; |
| | | data.speed = 25; |
| | | |
| | | that.LineRoaming = sgworld.Creator.createDynamicObject( |
| | |
| | | offset: { |
| | | heading: Cesium.Math.toRadians(-200), |
| | | pitch: Cesium.Math.toRadians(-45), |
| | | range: 4000 |
| | | range: this.pointrange |
| | | }, |
| | | duration: 3 |
| | | }); |