You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description:
Hello! I use your library for drawing paths between markers. It works well. But how can I draw a tooltip, when I click on your antPath or when my mouse is over the line? I tried something like this:
<AntPath key={index} positions={information['coords']} options={{color: 'red', weight: 3, dashArray: [5, 40]}}>
<Tooltip sticky>
Bla bla bla
</Tooltip>
</AntPath>
Where Tooltip is from react-leaflet library. Also, I tried to use the MUI tooltip, but it doesn't work too.
My AntPath looks like this:
Type:
Environment:
I'm going to open a PR:
Description:
Hello! I use your library for drawing paths between markers. It works well. But how can I draw a tooltip, when I click on your
antPath
or when my mouse is over the line? I tried something like this:Where Tooltip is from
react-leaflet
library. Also, I tried to use the MUI tooltip, but it doesn't work too.My AntPath looks like this:
And AntPath works well.
So, the main question is how to create a tooltip for the
antPath
?Thanks for your help and for your fantastic library!
The text was updated successfully, but these errors were encountered: