IconLayer clipping through map #9601
Unanswered
hermansteen
asked this question in
Q&A
Replies: 0 comments
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.
-
Hi! I am writing an app using vis.gl/react-google-maps together with Deck.gl. I have an IconLayer with dynamically generated SVG:s as icons. I have tried disabling DepthTest on both the Deck.Gl component and the IconLayer but it does not help, I have also tried using different anchorX and anchorY to offset the icon. This is how my IconLayer is specified:
And this is how my icons are drawn:

When loading the map fresh they display as they should (but smaller), but as soon as the view changes, the Icons clip through the map.
Beta Was this translation helpful? Give feedback.
All reactions