onHover info can not be saved in setState hook #244
Unanswered
qiaoxin136
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
-
layer72=new MVTLayer({
id: "modelpipe",
data: data,
i set up an onHover on a layer, i can console out the info, but i can not set it into setState hook, which i need,
i set up a stackbilitz repository, you can test.
https://stackblitz.com/~/github.com/qiaoxin136/googlemaptest?view=editor
Alternatively, is it possible to use Tooltip on deck, like the previous in Deck documentation.
Beta Was this translation helpful? Give feedback.
All reactions