minimize flyto zoom level

Hi everyone,

Can anyone tell me how to minimize fly to zoom level in indoor navigation. I’m using camera.flyto for navigating a non linear path in indoor to achieve smooth navigation. but when there is turns camera is flying and then moving along with vehicle. my requirement is camera should not fly but it should move along with camera. Can anyone help me to achieve this functionality.

I’m dividing a non linear path in to multiple linear lines and i’m calling this function by passing required parameters to the flowing function for each linear line.

x,y is nothing but position o f camera.
function (x, y, camHeight, duration, heading, pitch, camDistance) {

var viewJson = {

destination: Cesium.Cartesian3.fromDegrees(x, y, camHeight),

duration : duration,

orientation: {

heading: Cesium.Math.toRadians(heading), // default value is 0.0 (north)

pitch: Cesium.Math.toRadians(pitch), // default value (looking down)

roll: 0.0 // default value is 0.0

},

easingFunction : Cesium.EasingFunction.LINEAR_NONE