| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 | 
							- // 创建app
 
- var 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;//webSocket
 
- var 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',  // 功能按钮样式文件
 
 
  |