Open gy001302 opened 3 years ago
@cheeaun
I've encountered the same Problem, is there a good solution by now?
You can give the bitmap layer bounds a small z to lift it off the surface.
Thanks for the answer! Fist of all, before it sounds to critical. I think deck.gl is a great library. And especially the globe view helps a lot with my visualizations. I did try your solution. I had to raise the z-value to 44000 for it to not collide. The problem with using the more complicated bounds instead of the simple 4 elements array is, that is prohibits me to explicitly set _imageCoordinateSystem: COORDINATE_SYSTEM.LNGLAT. Which is a problem for me. Also it feels a little hacky. If there would be a better solution in the future, I would be very happy.
I had the same issue and found a simple fix.
Try adding depthTest: false in the paramaters-prop in the DeckGL component.
<DeckGL ... parameters={{ depthTest: false }} />
Also make sure you put the bitmap-layer last in the layers-array to render it on top.
I had the same issue and found a simple fix. Try adding depthTest: false in the paramaters-prop in the DeckGL component.
<DeckGL ... parameters={{ depthTest: false }} />
Also make sure you put the bitmap-layer last in the layers-array to render it on top.
My problem with that solution is that now I see the world from behind, for my vector layer.