Open mramato opened 9 years ago
This came up on the forum: https://groups.google.com/forum/?hl=en#!topic/cesium-dev/EbCim-p6jmI
We need different behavior for mapMode2D: Cesium.MapMode2D.ROTATE
. Right now, zoomTo
rotates the map but flyTo
does not. It should rotate the map for both if Cesium.MapMode2D.ROTATE
and neither otherwise
flyTo
always orients north, butzoomTo
applies the specified heading. The doc seems to indicate this is by design (at least for 2D). But it also happens for CV. Why do it at all? I thinkflyTo
should take the heading into account, just likezoomTo
does.While the below example uses the
viewer
commands, the actual behavior is defined in thecamera.flyToBoundingSphere
method.