We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reported in #3686
camear.setView goes to the rectangle, camera.flyTo does not.
camear.setView
camera.flyTo
var viewer = new Cesium.Viewer('cesiumContainer', {sceneMode: Cesium.SceneMode.SCENE2D}); var scene = viewer.scene; var clock = viewer.clock; var west = 0.3323436621771766; var south = 0.8292930502744068; var east = 0.3325710961342694; var north = 0.8297059734014236; var rectangle = new Cesium.Rectangle(west, south, east, north); viewer.entities.add({ rectangle : { coordinates : rectangle, fill : false, outline : true, outlineColor : Cesium.Color.WHITE } }); Sandcastle.addToolbarButton('setView', function() { viewer.camera.setView({ destination: rectangle }); }); Sandcastle.addToolbarButton('flyTo', function() { viewer.camera.flyTo({ destination: rectangle }); });
The text was updated successfully, but these errors were encountered:
Could you please take a look at it #3695 ? @hpinkos
Sorry, something went wrong.
fixed in #3695
No branches or pull requests
Reported in #3686
camear.setView
goes to the rectangle,camera.flyTo
does not.The text was updated successfully, but these errors were encountered: