CesiumGS / cesium

An open-source JavaScript library for world-class 3D globes and maps :earth_americas:
https://cesium.com/cesiumjs/
Apache License 2.0
12.82k stars 3.46k forks source link

Global 3D Tilesets do not end up with an ideal default camera view #8894

Open mramato opened 4 years ago

mramato commented 4 years ago

As this sandcastle shows, loading large 3D Tiles tilesets and then calling viewer.zoomTo or viewer.flyTo do not end up with ideal views.

image

I see two options:

The second one doesn't really negate the need for the first one, so maybe we do both?

@lilleyse thoughts?

CC @OmarShehata

lilleyse commented 4 years ago

Confirmed that removing https://github.com/CesiumGS/cesium/blob/56866ed98893023f64cb5c3bb2654f5607e5c31a/Source/Widgets/Viewer/Viewer.js#L2115-L2121 doesn't help enough for this case. Both those options sound good.