Hi guys,
If you run the following code in the sandcastle the camera zooms to 1000 metres above the ellipsoid as expected.
var viewer = new Cesium.Viewer('cesiumContainer', {sceneMode : Cesium.SceneMode.SCENE2D});
var scene = viewer.scene;
var clock = viewer.clock;
viewer.camera.maximumZoomFactor = 0;
var currentMagnitude = viewer.camera.getMagnitude();
console.log('currentMagnitude - ' + currentMagnitude);
viewer.camera.zoomIn((currentMagnitude - 1000));
console.log('NewMagnitude - '+ viewer.camera.getMagnitude());
but if you shrink the map so the width is less than the height the camera ends up metres above the ground. Am I missing something?