-
vis.academy states
Is it possible to use scatterplot with a custom fragment to render outside of the scatterplot? Example (A popup / tooltip that's floating above the scatterplot) If not, what is the recommended approach to render a polygon above a given position (And include Text + Icon inside it)? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 6 replies
-
You can conditionally render a PolygonLayer / TextLayer / IconLayer combo when hovering. |
Beta Was this translation helpful? Give feedback.
-
If you just need one or a few popups you can look at react-map-gl's Popup control |
Beta Was this translation helpful? Give feedback.
-
Thanks for the replies @Pessimistress @ibgreen : Context:
https://user-images.githubusercontent.com/5125481/109386201-23d63d00-78c7-11eb-90ab-84e98eed7502.png Attempt:
Attempt with SimpleMeshLayer:
|
Beta Was this translation helpful? Give feedback.
Thanks for the replies @Pessimistress @ibgreen :
Context:
GoogleMapsOverlay
so react-map-gl might not be possible with Google maps.https://…