Trouble upgrading from deck.gl 7(.3.15) => deck.gl 8(latest) #5253
-
Hi, I've been trying to update from deck.gl 7 -> 8, but for some reason my layers arent' showing. I'm still passing them the same data, and am getting logging that they are rendering, but am not seeing the layers visible on the map. I'm using deck.gl react with a I have a hunch maybe there's a peer dependency or something that's also out of date? Working on trying to create a minimal reproduction, but in the meantime has anyone else seen this issue? I've been digging through the changelog and upgrade notes, but nothing I've tried seems to do the trick. Some unrelated background is that I was having some issues on deckgl 7 with layers randomly becoming out of sync (I think the zoom was off somehow), when updating the viewstate in the way that I was (e.g. panning/zooming to a bbox based on the user selecting a set of points). I tried reproducing it in a sandbox, couldn't using the latest version of deck.gl, and then couldn't get things to compile in the sandbox using the same version of deck.gl here: https://codesandbox.io/s/cranky-cache-ts4v9 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Your sandbox loads fine for me. It may encounter issues if you change dependency versions and then hot reload, but it does figure it out if you refresh the page. |
Beta Was this translation helpful? Give feedback.
Your sandbox loads fine for me. It may encounter issues if you change dependency versions and then hot reload, but it does figure it out if you refresh the page.