Undefined 'quadDetails'
See original GitHub issueI’m seeing a quadDetails is undefined
error from our app when zooming in too far or rotating the map in such a way that brings the camera super close to the map. The sandcastle below should give the same error. However, the strange thing is that I can’t get the error on sandcastle when the browser window is small or on my laptop. On my bigger monitor, however, it is consistent.
I see that the error is coming from this line -> https://github.com/AnalyticalGraphicsInc/cesium/blob/master/Source/Scene/QuadtreePrimitive.js#L901, and it seems that a simple if (!quadDetails) return;
fixes the issue. Although, it might be a hacky solution, and I’m not sure where exactly the problem is coming from.
I tried reproducing the issue with version 1.51 and it seems to still freeze, but without the error.
Browser: Chrome, FF Operating System: Windows 10
Issue Analytics
- State:
- Created 4 years ago
- Reactions:2
- Comments:5 (5 by maintainers)
Top GitHub Comments
Yes that solution makes sense to me. It might not be a bad idea to add:
before returning. Mind opening a pull request with that change?
Fixed in #8011