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

"TypeError: Failed to execute 'putImageData' on 'CanvasRenderingContext2D': parameter 1 is not of type 'ImageData'." #98

Open
poulson opened this issue Jan 30, 2019 · 0 comments

Comments

@poulson
Copy link

poulson commented Jan 30, 2019

After launching a server from the current source (and using the updated data download scripts described in #97), I can manipulate the underlying spherical earth model, but I get the render error:

TypeError: Failed to execute 'putImageData' on 'CanvasRenderingContext2D': parameter 1 is not of type 'ImageData'.

Googling around for this error string, it seems to be common among a variety of projects and to be related to JSON serialization. Any thoughts?

EDIT: I should mention that this only happens in some browsers. For example, everything works in my Chrome installation but not my Brave installation. I will try to debug and post a fix.

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