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

Viewer Crash: when using contextOptions #686

Open
Nikitak211 opened this issue Dec 1, 2024 · 1 comment
Open

Viewer Crash: when using contextOptions #686

Nikitak211 opened this issue Dec 1, 2024 · 1 comment

Comments

@Nikitak211
Copy link

while trying to make Viewer container transparent, using -
contextOptions: {
webgl: {
alpha: true,
},
}.

scene is suddenly undefined after it passes as filled.

using version 1.16.1

thanks for any help.

@Nikitak211
Copy link
Author

Found a solution, Suggesting added it to documentation for those who need transparent map

when using contextOptions u need to use "useCesium" in children and not use the ref of viewer, other wise its crashing the viewer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant