Replies: 2 comments 1 reply
-
Possibly related: #9592 |
Beta Was this translation helpful? Give feedback.
1 reply
-
So actually mapbox has its own prop: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Ive upgraded my project to deck.gl 9 and react-map-gl 8. Took a bit of effort, but everything works fine now.
I implemented it in react with mapbox component as wrapper for deck gl overlay
Now I have one of two problems.
interleaved
option. Deck gl overlay lags behind very slightly. By that I mean that this latest mapbox version has a very smooth camera motion, with slow down, speed up and all that, it calls onMove A LOT! Before upgrading to this version I had the viewstate in a redux store, but now it's too slow. The viewstate serializion into redux was too slow so I had to move the whole thing into a local state. The problem seems to mostly occur at the acceleration when I start dragging the screen and deceleration when I stop.interleaved
option. In this mode, I have no lag when moving the camera. However, I get horrible aliasing on my polygons:Aliasing is especially bad when zoomed out:
Comapred to the same layer without interleaved:
Also zfighting is a much bigger issue when interleaving:
Any tips regaring propper integration? Am I doing something wrong?
Beta Was this translation helpful? Give feedback.
All reactions