Display grayscale value on mouse click #9830
daasigenesys-crypto
started this conversation in
General
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.
-
I am trying to render 2 layers as:
colorLayer contains the rgba images that I want user to see, and dataLayer contains grayscale image containing the values I want to show when user clicks on colored image. I have thus made dataLayer pickable.
But I see that no matter what's the order of layers in array, onclick is never called. And if I make colorLayer pickable, onclick is called.
What is correct configuration so that I can display grayscale value on click, with color image being displayed.
Beta Was this translation helpful? Give feedback.
All reactions