| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 | // 创建appvar app = new THING.App({    url: '/api/scene/0b75dc5f4460f22c329afd96',    // url: '/api/scene/ab93bd9640a9db05a4937351',    background: 'https://www.thingjs.com/static/images/background_img_03.png'});//设备列表var buildingStore;$.ajax({    type: "GET",    url:'/uploads/wechat/163607/file/杨浦16/buildingStore.json',    dataType: "json",    async: false,    success: function (data) {        console.log(data)        buildingStore = data.buildingStore    }});app.camera.xAngleLimitRange = [0, 90];var campusUrl;//场景列表var dataObj = { progress: 0 };  // 场景加载进度条数据对象var loadingPanel;  // 进度条界面组件var curCampus;//存放园区url路径var company_code;var buildingStore;var miniMapCtrl = null;  // 小地图控件var webSocket;//webSocketvar tileLayer1 = null;  // 加入地图背景后选用的图层var box = null;  // 鼠标点击第一人称行走按钮时,红色盒子提示var fpsCtrl = null;  // 第一人称行走控件var cameraInitPos = null;  // 进入第一人称行走前摄像机位置var fullScreenState = false;  // 全屏var skyBox = null;  // 天空盒var hiddenControlTimer = null;  // 隐藏控制按钮计时器var showControlTimer = null;  // 显示控制按钮计时器var cameraDistace = [];var building = null, mainPanle;  // 建筑var restartTime = 5000;  // 自动旋转停止后重启时间间隔var rotateTimer = null;  // 自动旋转计时器//var baseURL = "http://47.103.74.123/ThingjsIcon/";var baseURL = "https://s3.ax1x.com/2021/01/28/";var filePath = '/uploads/wechat/5oiR5pyJ5pyA6ZW/55qE572R5ZCN5LiN5L+h5L2g5pWw5pWw/file/ScenePreview/';// 需要用到的外部文件var fileArr = [    "https://www.layuicdn.com/layui/layui.js",    'https://www.layuicdn.com/layui/css/layui.css',    filePath + 'assets/css/index.css',  // 功能按钮样式文件
 |