-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Camera.zoomIn doesn't work when viewport width < height #4898
Labels
Comments
This could probably be shortened, but it solves the issue: function zoom2D(camera, amount) {
|
Thanks @cfickler! Would you be interested in opening a pull request with that fix? You can see instructions in our contributing documentation: https://github.com/AnalyticalGraphicsInc/cesium/blob/master/CONTRIBUTING.md#opening-a-pull-request |
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Reported on the forum: https://groups.google.com/forum/?hl=en#!topic/cesium-dev/5Urmnt2xwqE
The following example works correctly when the canvas width is greater than the canvas height, but not when the width is less than the height:
The text was updated successfully, but these errors were encountered: