Open phtj opened 5 years ago
DEFAULT_VIEW_RECTANGLE is a static property on Cesium.Camera. ... you can only assign the value before Viewer is constructed, which is no good in our case
the Sandcastle Camera Demo shows a number of ways to fly or snap the camera to locations at runtime, after construction.
Use the drop-down box selector (upper-left of the globe) to see the different options there.
http://cesiumjs.org/Cesium/Apps/Sandcastle/index.html?src=Camera.html&label=Showcases
should zoom to model