2a7cef9c by jikai

Merge remote-tracking branch 'origin/master'

# Conflicts:
#	src/views/Home.vue
2 parents f35b59a5 0da45e6b
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
9 components: {}, 9 components: {},
10 data() { 10 data() {
11 return { 11 return {
12 viewer: undefined, 12 viewer: undefined,
13 entity: undefined, 13 entity: undefined,
14 } 14 }
15 }, 15 },
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
37 cullWithChildrenBounds : true 37 cullWithChildrenBounds : true
38 }), height = -2440; 38 }), height = -2440;
39 this.viewer.scene.primitives.add(tileset); 39 this.viewer.scene.primitives.add(tileset);
40 40
41 tileset.readyPromise.then(argument => { 41 tileset.readyPromise.then(argument => {
42 var cartographic = Cesium.Cartographic.fromCartesian(tileset.boundingSphere.center); 42 var cartographic = Cesium.Cartographic.fromCartesian(tileset.boundingSphere.center);
43 var surface = Cesium.Cartesian3.fromRadians(cartographic.longitude, cartographic.latitude, cartographic.height); 43 var surface = Cesium.Cartesian3.fromRadians(cartographic.longitude, cartographic.latitude, cartographic.height);
...@@ -49,7 +49,7 @@ ...@@ -49,7 +49,7 @@
49 49
50 50
51 51
52 52
53 53
54 }, 54 },
55 methods: { 55 methods: {
......