When initializing map, I set camera parameter,
viewer.camera.setView( {
destination : Cesium.Cartesian3.fromDegrees(116, 39, 100000),// x y z
orientation: {
heading : Cesium.Math.toRadians(-0),
pitch : Cesium.Math.toRadians(-40),
roll : 0.0
}
});
When users drag map , change map direction , I wanto to save z, but reset x and y. In the console , I output the viewer.camera, find the parameter( position, direction ) value is very large, not use degree, how to get the parameter (using degree), thanks!