-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
[Bug] Heatmap Layer Doesn't Render in v9 Update from v8. #8960
Comments
I hit this same bug in the above issue updating lonboard to use deck.gl v9. I can create an Arrow-based example but it looks like the OP's example is much more minimal to reproduce the same error |
Does the example on https://deck.gl/docs/api-reference/aggregation-layers/heatmap-layer work for you? |
That example does work for me. I don't immediately see what's different in that example. I am passing in data via binary accessors, if that makes a difference. |
Same. I can get the example in the documentation to work but once I change back to my original code I got back to receiving the webGL error in the OP. |
The "steps to reproduce" that you provided in the bug report is not substantially different from the example in the docs. I do not have access to your "original code." Please help us to help you if you need this fixed. |
@Pessimistress https://codesandbox.io/p/sandbox/heatmap-issue-4d85gt There's a link to codesandbox that i set up to recreate the issue. |
Fix published in 9.0.23 |
In https://codesandbox.io/p/devbox/heatmap-issue-forked-rr943l?workspaceId=a29bcda6-9441-45b7-a846-4b8ec115d594 I forked @zrichardet 's above codesandbox link and updated to deck.gl v9.0.27, but I'm still getting the same error as before: ![]() Edit: should I create a new issue for this? |
FWIW, I see it working on master (9.1-alpha) e.g. in the layer-browser example. Hopefully we will get 9.1 out soon. |
The docs page works in my browser (https://deck.gl/docs/api-reference/aggregation-layers/heatmap-layer), so I figure it's not entirely broken, but that there's some specific combination of props that isn't supported correctly. I'll keep my eye out for a 9.1 alpha release to NPM, and then I'll try the codesandbox with that release |
There is a luma91 branch in deck, but it still has a few subtle test failures, will land and publish an alpha as soon as it runs clean. |
Description
Updating to the most recent version of deck.gl and I am having issues with the Heatmap Layer not rendering as expected. I also use a Hex Layer and an MVT Layer without issues and my last hurdle is to get the Heatmap to appear on the screen.
Flavors
Expected Behavior
Heatmap layer renders as expected.
Steps to Reproduce
Environment
Logs
update of HeatmapLayer({id: 'layer-id'}): Cannot read properties of null (reading 'glTarget') TypeError: Cannot read properties of null (reading 'glTarget')
The text was updated successfully, but these errors were encountered: