//初始化viewer部件
var viewer = new Cesium.Viewer('cesiumContainer');
viewer.imageryLayers.addImageryProvider(new Cesium.BingMapsImageryProvider({
url : 'https://dev.virtualearth.net',
mapStyle : Cesium.BingMapsStyle.AERIAL,
key : URL_CONFIG.BING_MAP_KEY
}));
var scene = viewer.scene;
var widget = viewer.cesiumWidget;
var sceneLayer;
$('#loadingbar').remove();
try{
var promise = scene.open('http://localhost:8090/iserver/services/3D-QingXieSheYingMoXing/rest/realspace');
Cesium.when(promise,function(layers){
var layer = scene.layers.find('Config');
sceneLayer = layer;
//设置相机位置,定位至模型
scene.camera.setView({
destination : Cesium.Cartesian3.fromDegrees(104.150582597048 , 30.683993685386 ,458.990 ),
});