123456789101112131415161718192021222324 |
- // 创建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; // 进度条界面组件
|