var tileset = this.viewer.scene.primitives.add(
new Cesium.Cesium3DTileset({
url: '/3dt/tzm3/tileset.json',
})
);
tileset.readyPromise
.then( (tileset) => {
console.log(tileset, 222222222222222)
console.log(this.viewer)
// this.viewer.flyTo(
// tileset,
// );
var boundingSphere = tileset.boundingSphere;
var radius = boundingSphere.radius;
this.viewer.zoomTo(
tileset,
new Cesium.HeadingPitchRange(0.5, -0.2, radius * 4.0)
);
// this.flyToAngle({
// "longitude": 119.5624,
// "latitude": 32.743,
// "height": 2700,
// })
})