design-automation / mobius-parametric-modeller

Möbius for parametric modelling.
https://design-automation.github.io/mobius-parametric-modeller/
MIT License
10 stars 6 forks source link

zoom button in cesium viewer not zooming to right location #442

Open phtj opened 5 years ago

phtj commented 5 years ago

should zoom to model

phtj commented 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