Skip to content
New issue

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

Pinch zoom broken for iPhone and iPad #4254

Closed
hpinkos opened this issue Aug 30, 2016 · 2 comments
Closed

Pinch zoom broken for iPhone and iPad #4254

hpinkos opened this issue Aug 30, 2016 · 2 comments

Comments

@hpinkos
Copy link
Contributor

hpinkos commented Aug 30, 2016

Reported on the forum: https://groups.google.com/forum/?hl=en#!topic/cesium-dev/5VarapsvvdA

Load the code then pinch to zoom. This will cause a crash

var viewer = new Cesium.Viewer('cesiumContainer');

var dblInitLon = -117.72456;
var dblInitLat = 33.06154;
var dblInitAlt = 342418.4;
var dblHeading = 0;
viewer.scene.camera.setView({
    destination: Cesium.Cartesian3.fromDegrees(dblInitLon, dblInitLat, dblInitAlt),
    orientation: {
        heading: Cesium.Math.toRadians(dblHeading),
        pitch: Cesium.Math.toRadians(-90),
        roll: 0.0
    }
});
@mramato
Copy link
Contributor

mramato commented Aug 30, 2016

Is this a dupe of #4177?

@hpinkos
Copy link
Contributor Author

hpinkos commented Aug 30, 2016

"If I move the scene first and then zoom everything works fine."

Yes, this does look like a dupe of #4177

@hpinkos hpinkos closed this as completed Aug 30, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants