Simultaneous picking in multiple viewports #9210
Unanswered
rubenthoms
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
-
Hi deck.gl community,
First of all, thanks for this very nice framework and all the hard work you put into it! 🚀
My question is related to picking in a multi-viewport setup. I have searched the documentation thoroughly but could not find any related posts/code documentation, so I am wondering if this has ever been a topic. My apologies if I missed any relevant entries.
Let's assume I have two synced viewports next to each other (in a [2, 1] layout), both showing different layers but within the same range of coordinates (same position in space). When I now hover one of the viewports, I'd get the respective picking information for the current x,y-coordinates. However, only for the layers in the respective viewport. In this scenario with two synced viewports it would be nice if it was possible to access the picking information for the respective world coordinates for all layers in both viewports (applies to any number of viewports). This could be an optional flag, just like the syncing flag.
Is this already possible with the current implementation of deck.gl? If not, has this ever come up as a potential feature? If not, what are the reasons for not considering such an implementation?
Looking forward to hearing your thoughts on this matter. Thanks in advance and best regards.
Beta Was this translation helpful? Give feedback.
All reactions