Is there any documentation on how to use the hover function on the map?
I essentially just want to display some information on a point, which I can get the name of a location selected with something like "map.selectedPoint.location_name", but anything I try to actually display the name in a popup as per their docs Display a popup on hover | Mapbox GL JS | Mapbox does not seem to work in retool.
Thanks in advance,
Thanks for reaching out! Here is our doc on our MapBox component, though it currently doesn't have all the steps you're looking for - For on hover events, you could set this up in Interactions:
Run a query "onHover" to run a JS query that opens up a modal with your desired details. Here is an example of how it's been done before!
Regarding the MapBox component overall, we are actively making improvements to its functionality and capabilities, so feel free to let us know if you have any feedback as you keep building!