Picking overlapping bitmap layers #5574
Unanswered
alexandruandrei91
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Thanks for reporting this. Would you open a bug? @ibgreen this layer no longer has an invalid picking color so it cannot be removed in multi picking pass. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
We have a couple of overlapping layers that extend the bitmap layer (Demo, Code) and I need to get the value under the cursor for all of them.
I tried using DeckGL's onHover, but I only get the topmost layer. I've also tried using the react events and call
pickMultipleObjects
, but I get the following error when using it with the Bitmap layer:Other thing I've tried was adding the
instancePickingColors
attribute back to the bitmap layer, but with no luck.I've also tried overriding
disablePickingIndex
to change a uniform in the fragment shader and cause it to return vec4(0.0) in the picking drawing pass, and change it back inrestorePickingColors
, no success with that either. I didn't get the error anymore, but I've only got the topmost layer.Any suggestions on how can I pick multiple bitmap layers?
Beta Was this translation helpful? Give feedback.
All reactions