北京经济技术开发区经开区虚拟城市项目-【前端】--政府服务中心-2号屏Web
surprise
2023-10-12 1c4e40fddae516928457be1397b5c250b7677639
src/assets/js/rpc.js
@@ -25,6 +25,8 @@
    pointerFly: null, //定点漫游
    isShow: false,
    objArr: [],
    pointrange:null,
    //关键字查询
    getFuzzyQuery(res) {
        if(res.message.indexOf('奔驰')>-1){
@@ -84,18 +86,20 @@
            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;
               }
@@ -494,7 +498,7 @@
            data.showLine = false;
            data.mode = 1;
            data.pitch = -10;
            data.height = 75;
            data.height = 500;
            data.speed = 25;
            that.LineRoaming = sgworld.Creator.createDynamicObject(
@@ -589,7 +593,7 @@
            offset: {
                heading: Cesium.Math.toRadians(-200),
                pitch: Cesium.Math.toRadians(-45),
                range: 4000
                range: this.pointrange
            },
            duration: 3
        });