-
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
Imagery flash blue block while drag globe quiclly! #9346
Comments
CesiumJS has special handling for the "base layer". All base layer tiles are required to be loaded before a terrain tile can be displayed. But for non-base layers, this requirement doesn't exist. We'll show a terrain tile with e.g. Bing but without some data layer on top of it, and then draw the data layer later. So my guess is that the flashing blue is caused by the Natural Earth II layer not getting designated correctly as a base layer. |
any layer if it's maxlevel is small can caused this,not only Natural Earth II. |
It's probably the switching using the base layer picker that is causing it. The small maxlevel probably just makes it easier to reproduce. All these claims are just educated guesses, though. |
In what cases? I don't think it should ever be necessary for it to be called twice in one frame. Your fix is effectively doing extra loading when we're already trying to draw, i.e., outside the load process. I can believe it fixes the symptoms by papering over a problem elsewhere, but I don't think it's the correct solution. |
Ok, I can see why that second call is necessary in that special case. But in a previous post, you said, "some situation skiped the second call." In what situation is the second call needed, but it's skipped? |
example:https://sandcastle.cesium.com/#c=bY09C8IwEIb/ypFJQRKcTYvQVXAQnLKk6anBa1Ly0VJ/vW1dRHvb+97z3PU6QG9xwAAFOBygwmhzy69Lt1HMLLnyLmnrMCi2PSjHdkzGNBKWysEyR9t2PiTIgTaci4RtRzphFHU2T0zcxDiLMyrFtyob24NtipVPYEjHOG1umehiX6hYKcXE/6nkdWPd/dxjID3O2GNfnj4l51yKKa6byXuqdfi5/AY
Browser: goole chrome 87.0.4280.88(64bit)
Operating System:Windows 10 19042.746
1.open sandcastle ,choose imagery as the picture show.
2.zoom camera to detailed level ,just close to the ground and drag globe quickly,in some case few blue block flashed by the side of the screen edges,the
this is the picture snaped from my record screen video
it appears very often if TileImagery level higher than ImageryLayer's max level.
The text was updated successfully, but these errors were encountered: