Not able to get features (layer, source, properties) onClick in v7 #1830
Answered
by
Pessimistress
Shashank1003
asked this question in
Q&A
-
I want to get the layer information and feature properties on click of any layer. Earlier I was doing it with event.features but after the upgrade, I am not getting features in the onClick event. |
Beta Was this translation helpful? Give feedback.
Answered by
Pessimistress
Apr 16, 2022
Replies: 1 comment 2 replies
-
https://visgl.github.io/react-map-gl/docs/api-reference/map#interactivelayerids |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
Shashank1003
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://visgl.github.io/react-map-gl/docs/api-reference/map#interactivelayerids