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

Version 1.114 Zoom view not working as expected when zoom-in #11822

Closed
honglzhu opened this issue Feb 9, 2024 · 3 comments
Closed

Version 1.114 Zoom view not working as expected when zoom-in #11822

honglzhu opened this issue Feb 9, 2024 · 3 comments

Comments

@honglzhu
Copy link

honglzhu commented Feb 9, 2024

What happened?

The Zoom view (Right click + drag, or Mouse wheel scroll) is not working as expected in Version 1.114 (the latest)

Reproduction steps

  1. Open this page, will display this map:
    image

  2. Start to zoom-in the map view (Right click + drag, or Mouse wheel scroll), it will stop working in the middle when I try to zoom-in a bit further to street or building level:
    image

  3. In my test, Version 1.113 was working fine.

Sandcastle example

Since I don't know how to upload the dataset (Cesium3DTileset), I created a standalone test using CesiumJS v1.114 in another environment:
http://150.136.7.93:8080/mapviewer/cesium/nyc_v1_114.html (for comparison, the same test using v1.113, which works as expected: http://150.136.7.93:8080/mapviewer/cesium/nyc_v1_113.html)

Environment

Browser: Chrome/FireFox/Edge
CesiumJS Version: 1.114
Operating System: Linux

@javagl
Copy link
Contributor

javagl commented Feb 10, 2024

This is probably a duplicate of #11812

You can try creating the tileset with

const tileset = await Cesium.Cesium3DTileset.fromUrl('nyc_v2/tileset.json', {
    disableCollision: true
});

which should restore the behavior from 1.113 for now.

@honglzhu
Copy link
Author

honglzhu commented Feb 10, 2024

Indeed, after I add that property, it works like a charm!
Thank you @javagl !
(FYI: the updated test that has the property added--it works: http://150.136.7.93:8080/mapviewer/cesium/nyc_v1_114_dis_colli.html)

@ggetz
Copy link
Contributor

ggetz commented Feb 12, 2024

Thanks @honglzhu and @javagl! I agree this is a duplicate of #11812. Closing this issue to keep discussion in one place.

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

3 participants