Merge remote-tracking branch 'origin/master'
# Conflicts: # src/views/Home.vue
Showing
1 changed file
with
3 additions
and
3 deletions
| ... | @@ -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: { | ... | ... |
-
Please register or sign in to post a comment