|
|
@@ -248,11 +248,11 @@ export default {
|
|
|
}
|
|
|
});
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
var pitch = height ? -0.8 : -45; // Cesium.Math.toRadians(-45.0);-0.7853981633974483
|
|
|
let range = height ? 3000 : 3000;
|
|
|
viewer.flyTo(data, {
|
|
|
- offset: new Cesium.HeadingPitchRange(0, pitch, range),
|
|
|
+ offset: new Cesium.HeadingPitchRange(0, pitch), // range
|
|
|
});
|
|
|
// viewer.zoomTo(data);
|
|
|
if (id) {
|